From d4f9b8d74c5110c6ee92483facd7a0d94a1a9e57 Mon Sep 17 00:00:00 2001 From: Ville Skyttä Date: Sun, 7 Apr 2013 11:12:04 +0300 Subject: bash-completion: Don't offer any more completions after help or version. Signed-off-by: Ville Skyttä --- bash-completion/partx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bash-completion/partx') diff --git a/bash-completion/partx b/bash-completion/partx index db2eded6a..b643dd8d3 100644 --- a/bash-completion/partx +++ b/bash-completion/partx @@ -20,6 +20,9 @@ _partx_module() COMPREPLY=( $(compgen -W "aix bsd dos gpt mac minix sgi solaris_x86 sun ultrix unixware" -- $cur) ) return 0 ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; esac case $cur in -*) -- cgit v1.2.3-55-g7522