The following commit has been merged in the master branch:
commit 44a387f21665bcc4ede3ebb5a051337c2b47af85
Author: Ville Skyttä <[email protected]>
Date:   Wed May 11 23:57:12 2011 +0300

    cksfv: Use _parse_help, add -g argument completion.

diff --git a/completions/cksfv b/completions/cksfv
index 921afb0..f5fcab3 100644
--- a/completions/cksfv
+++ b/completions/cksfv
@@ -8,12 +8,12 @@ _cksfv()
     _init_completion || return
 
     if [ $cword -eq 1 ]; then
-        COMPREPLY=( $( compgen -W '-C -f -i -q -v' -- "$cur" ) )
+        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
         return 0
     fi
 
     case "$prev" in
-        -C)
+        -C|-g)
             _filedir -d
             return 0
             ;;

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to