]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/hwclock
bash-completion: Don't offer any more completions after help or version.
[thirdparty/util-linux.git] / bash-completion / hwclock
index 855e8857561b047e370cc6e8644a526189e429b8..b09e63df014c7d1ee94153de93575164152b2519 100644 (file)
@@ -18,6 +18,9 @@ _hwclock_module()
                        COMPREPLY=( $(compgen -W "year" -- $cur) )
                        return 0
                        ;;
+               '-h'|'-?'|'--help'|'-v'|'-V'|'--version')
+                       return 0
+                       ;;
        esac
        case $cur in
                -*)