[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 87fbdc9c186218e9167853c87aacd63c04994901

David Paleino dapal at debian.org
Sun Nov 22 07:33:21 UTC 2009


The following commit has been merged in the master branch:
commit 87fbdc9c186218e9167853c87aacd63c04994901
Author: David Paleino <dapal at debian.org>
Date:   Sun Nov 22 08:33:00 2009 +0100

    contrib/cpio: don't use globbing, as per new team policy

diff --git a/contrib/cpio b/contrib/cpio
index 08e44ca..7eae2d4 100644
--- a/contrib/cpio
+++ b/contrib/cpio
@@ -22,7 +22,7 @@ _cpio()
             _cpio_format
             return 0
             ;;
-        -@(E|F|I|-?(pattern-)file))
+        -E|-F|-I|-file|-pattern-file)
             _filedir
             return 0
             ;;
@@ -43,7 +43,7 @@ _cpio()
                                    -? --help --license --usage --version' -- "$cur" ) )
     else
         case ${COMP_WORDS[1]} in
-            -@(o|-create))
+            -o|--create)
                 if [[ "$cur" == -* ]]; then
                     COMPREPLY=( $( compgen -W '-0 -a -c -v -A -B\
                         -L -V -C -H -M -O -F --file --format\
@@ -54,7 +54,7 @@ _cpio()
                         --version' -- "$cur" ) )
                 fi
                 ;;
-            -@(i|-extract))
+            -i|--extract)
                 if [[ "$cur" == -* ]]; then
                     COMPREPLY=( $( compgen -W '-b -c -d -f -m -n -r\
                         -t -s -u -v -B -S -V -C -E -H -M -R -I\
@@ -74,7 +74,7 @@ _cpio()
                         --version' -- "$cur" ) )
                 fi
                 ;;
-            -@(p|-pass-through))
+            -p|--pass-through)
                 if [[ "$cur" == -* ]]; then
                     COMPREPLY=( $( compgen -W '-0 -a -d -l -m -u -v\
                         -L -V -R --null --reset-access-time\

-- 
bash-completion



More information about the Bash-completion-commits mailing list