diff options
Diffstat (limited to 'bash-completion/mkswap')
-rw-r--r-- | bash-completion/mkswap | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bash-completion/mkswap b/bash-completion/mkswap index b72efafd9..6ccc21421 100644 --- a/bash-completion/mkswap +++ b/bash-completion/mkswap @@ -17,7 +17,11 @@ _mkswap_module() COMPREPLY=( $(compgen -W "1" -- $cur) ) return 0 ;; - '-U'|'--uuid'|'-h'|'--help'|'-V'|'--version') + '-U'|'--uuid') + COMPREPLY=( $(compgen -W "$(uuidgen -r)" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') return 0 ;; esac |