[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-290-g68f7fa1
Ville Skyttä
ville.skytta at iki.fi
Wed May 11 21:29:22 UTC 2011
The following commit has been merged in the master branch:
commit 44a387f21665bcc4ede3ebb5a051337c2b47af85
Author: Ville Skyttä <ville.skytta at iki.fi>
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
More information about the Bash-completion-commits
mailing list