chkconfig: Wrap long lines.
This commit is contained in:
parent
bb36bfd019
commit
e4ff8d98a3
@ -19,10 +19,12 @@ _chkconfig()
|
|||||||
$split && return 0
|
$split && return 0
|
||||||
|
|
||||||
if [[ "$cur" == -* ]]; then
|
if [[ "$cur" == -* ]]; then
|
||||||
COMPREPLY=( $( compgen -W '--list --add --del --override --level' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W '--list --add --del --override --level' \
|
||||||
|
-- "$cur" ) )
|
||||||
else
|
else
|
||||||
if [[ $cword -eq 2 || $cword -eq 4 ]]; then
|
if [[ $cword -eq 2 || $cword -eq 4 ]]; then
|
||||||
COMPREPLY=( $( compgen -W 'on off reset resetpriorities' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W 'on off reset resetpriorities' \
|
||||||
|
-- "$cur" ) )
|
||||||
else
|
else
|
||||||
_services
|
_services
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user