[Bash-completion-commits] [SCM] bash-completion branch, master, updated. c1d3cdad70523552e63688cb053a960b64e97b16

Ville Skyttä ville.skytta at iki.fi
Sun Nov 21 18:38:05 UTC 2010


The following commit has been merged in the master branch:
commit d5a7346390acb4872f1c258f82b5cd5ef3bdf79b
Author: Ville Skyttä <ville.skytta at iki.fi>
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



More information about the Bash-completion-commits mailing list