diff options
Diffstat (limited to '')
-rw-r--r-- | bash-completion/wipefs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bash-completion/wipefs b/bash-completion/wipefs index 8e49a8b..de17272 100644 --- a/bash-completion/wipefs +++ b/bash-completion/wipefs @@ -5,6 +5,10 @@ _wipefs_module() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in + '-b'|'--backup') + COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) ) + return 0 + ;; '-O'|'--output') local prefix realcur OUTPUT_ALL OUTPUT realcur="${cur##*,}" |