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