summaryrefslogtreecommitdiffstats
path: root/bash-completion/delpart
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/delpart')
-rw-r--r--bash-completion/delpart5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash-completion/delpart b/bash-completion/delpart
index e3ee40629..70543f0a0 100644
--- a/bash-completion/delpart
+++ b/bash-completion/delpart
@@ -4,6 +4,11 @@ _delpart_module()
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
+ case $prev in
+ '-h'|'--help'|'-V'|'--version')
+ return 0
+ ;;
+ esac
case $COMP_CWORD in
1)
local DEV TYPE DEVICES=''