diff options
Diffstat (limited to 'bash-completion/uuidgen')
| -rw-r--r-- | bash-completion/uuidgen | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bash-completion/uuidgen b/bash-completion/uuidgen index d9edde9b03..2cf30a2073 100644 --- a/bash-completion/uuidgen +++ b/bash-completion/uuidgen @@ -1,8 +1,14 @@ _uuidgen_module() { - local cur OPTS + local cur prev OPTS COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac case $cur in -*) OPTS="-r --random -t --time -V --version -h --help" |
