]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/sfdisk
bash-completion: Don't offer any more completions after help or version.
[thirdparty/util-linux.git] / bash-completion / sfdisk
index 5498b0e90927926c567db55bfa117fa8b07ffce0..102fd85ad25bde9afe2591db3a14683337b4e866 100644 (file)
@@ -18,6 +18,9 @@ _sfdisk_module()
                        COMPREPLY=( $(compgen -f -- $cur) )
                        return 0
                        ;;
+               '-h'|'--help'|'-v'|'--version')
+                       return 0
+                       ;;
        esac
        case $cur in
                '=')