[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-267-g20a3d4d

Ville Skyttä ville.skytta at iki.fi
Wed May 4 20:21:42 UTC 2011


The following commit has been merged in the master branch:
commit f9293cd3e843cec704e57239d1fd5c9b6f59aadc
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Wed May 4 23:02:13 2011 +0300

    xmlwf: Use _parse_usage, add -v non-completion.

diff --git a/completions/xmlwf b/completions/xmlwf
index 71fbb73..0fd4970 100644
--- a/completions/xmlwf
+++ b/completions/xmlwf
@@ -17,11 +17,13 @@ _xmlwf()
                 ISO-8859-1' -- "$cur" ) )
             return 0
             ;;
+        -v)
+            return 0
+            ;;
     esac
 
     if [[ "$cur" == -* ]]; then
-        COMPREPLY=( $( compgen -W '-c -d -e -m -n -p -r -s -t -v -w \
-            -x' -- "$cur" ) )
+        COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
         return 0
     fi
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list