summaryrefslogtreecommitdiffstats
path: root/bash-completion/getopt
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/getopt')
-rw-r--r--bash-completion/getopt3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash-completion/getopt b/bash-completion/getopt
index ea8c8e2b6..d18d2a166 100644
--- a/bash-completion/getopt
+++ b/bash-completion/getopt
@@ -21,6 +21,9 @@ _getopt_module()
COMPREPLY=( $(compgen -W "sh bash csh tcsh" -- $cur) )
return 0
;;
+ '-h'|'--help'|'-V'|'--version')
+ return 0
+ ;;
esac
case $cur in
-*)