[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-313-gc36b68c
Ville Skyttä
ville.skytta at iki.fi
Tue May 24 15:55:10 UTC 2011
The following commit has been merged in the master branch:
commit 73247676807b6c01bf3d716e515bc9dfcb89e921
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Fri May 20 20:35:40 2011 +0300
snownews: Use _parse_help.
diff --git a/completions/snownews b/completions/snownews
index ee7ec98..7cdacb5 100644
--- a/completions/snownews
+++ b/completions/snownews
@@ -9,8 +9,7 @@ _snownews()
if [[ "$cur" == -* ]]; then
# return list of available options
- COMPREPLY=( $( compgen -W '--update --help --version \
- --disable-versioncheck -u -h -V' -- "$cur"))
+ COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
fi
} &&
complete -F _snownews snownews
--
bash-completion
More information about the Bash-completion-commits
mailing list