]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/mcookie
bash-completion: Don't offer any more completions after help or version.
[thirdparty/util-linux.git] / bash-completion / mcookie
index 1c01a55220eaa26aa6eac4fea30227c2f0206b22..ce5ee9cda2375c1105227bf4a8310a0caa4fbe3b 100644 (file)
@@ -10,6 +10,9 @@ _mcookie_module()
                        COMPREPLY=( $(compgen -f -- $cur) )
                        return 0
                        ;;
+               '-h'|'--help'|'-V'|'--version')
+                       return 0
+                       ;;
        esac
        case $cur in
                -*)