chkconfig: Wrap long lines.

This commit is contained in:
Ville Skyttä 2011-11-09 18:06:59 +02:00
parent bb36bfd019
commit e4ff8d98a3

View File

@ -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