[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 52c8a81b31f00987038336a233d843e4cfe7f2f9

Ville Skyttä ville.skytta at iki.fi
Mon Oct 19 21:55:49 UTC 2009


The following commit has been merged in the master branch:
commit 52c8a81b31f00987038336a233d843e4cfe7f2f9
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Oct 20 00:55:46 2009 +0300

    Fix indentation.

diff --git a/contrib/chkconfig b/contrib/chkconfig
index 7c12c0d..35a43bb 100644
--- a/contrib/chkconfig
+++ b/contrib/chkconfig
@@ -12,14 +12,14 @@ _chkconfig()
     _split_longopt && split=true
 
     case "$prev" in
-    @(?(--level=)[1-6]|--@(list|add|del|override)))
-        _services
-        return 0
-        ;;
-    --level)
-        COMPREPLY=( $( compgen -W '1 2 3 4 5 6' -- "$cur" ) )
-        return 0
-        ;;
+        @(?(--level=)[1-6]|--@(list|add|del|override)))
+            _services
+            return 0
+            ;;
+        --level)
+            COMPREPLY=( $( compgen -W '1 2 3 4 5 6' -- "$cur" ) )
+            return 0
+            ;;
     esac
 
     $split && return 0

-- 
bash-completion



More information about the Bash-completion-commits mailing list