]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/fstrim
bash-completion: Don't offer any more completions after help or version.
[thirdparty/util-linux.git] / bash-completion / fstrim
index 6587d57213243008f4366b27fc2f5ebf9e0387f8..5427e7285d8e9279b2ca27f4d08fe8f4e8a822a5 100644 (file)
@@ -9,6 +9,9 @@ _fstrim_module()
                        COMPREPLY=( $(compgen -W "num" -- $cur) )
                        return 0
                        ;;
+               '-h'|'--help'|'-V'|'--version')
+                       return 0
+                       ;;
        esac
        case $cur in
                -*)