diff options
Diffstat (limited to 'bash-completion/partx')
-rw-r--r-- | bash-completion/partx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash-completion/partx b/bash-completion/partx index 921666274..929000013 100644 --- a/bash-completion/partx +++ b/bash-completion/partx @@ -27,8 +27,7 @@ _partx_module() return 0 ;; '-t'|'--type') - # FIXME: some command should list type libblkid knows. - COMPREPLY=( $(compgen -W "aix bsd dos gpt mac minix PMBR sgi solaris sun ultrix unixware" -- $cur) ) + COMPREPLY=( $(compgen -W "$(partx --list-types)" -- $cur) ) return 0 ;; '-h'|'--help'|'-V'|'--version') @@ -50,6 +49,7 @@ _partx_module() --raw --sector-size --type + --list-types --verbose --help --version |