diff --git a/completions/python b/completions/python index 68b55ff9..3b8aba6f 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