The following commit has been merged in the master branch:
commit d5a7346390acb4872f1c258f82b5cd5ef3bdf79b
Author: Ville Skyttä <[email protected]>
Date: Sun Nov 21 20:30:42 2010 +0200
Add some python option arg non-completions.
diff --git a/completions/python b/completions/python
index 68b55ff..3b8aba6 100644
--- a/completions/python
+++ b/completions/python
@@ -9,6 +9,9 @@ _python()
_get_comp_words_by_ref cur prev
case $prev in
+ -'?'|-h|--help|-V|--version|-m)
+ return 0
+ ;;
-Q)
COMPREPLY=( $( compgen -W "old new warn warnall" -- "$cur" ) )
return 0
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits