diff options
author | Sami Kerola | 2013-04-08 21:32:47 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-09 12:17:10 +0200 |
commit | 6ad488cca9e3dbb7c2e99b578171733e18876404 (patch) | |
tree | e40dd4adc2b1e6cfb9b837b13549e6c3303b8643 /bash-completion/setarch | |
parent | setarch: clean up usage() (diff) | |
download | kernel-qcow2-util-linux-6ad488cca9e3dbb7c2e99b578171733e18876404.tar.gz kernel-qcow2-util-linux-6ad488cca9e3dbb7c2e99b578171733e18876404.tar.xz kernel-qcow2-util-linux-6ad488cca9e3dbb7c2e99b578171733e18876404.zip |
bash-completion: setarch: use correct list for architectures
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'bash-completion/setarch')
-rw-r--r-- | bash-completion/setarch | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bash-completion/setarch b/bash-completion/setarch index 80aabd5aa..b2c6a074b 100644 --- a/bash-completion/setarch +++ b/bash-completion/setarch @@ -10,14 +10,7 @@ _setarch_module() ;; esac if [ $COMP_CWORD -eq 1 ]; then - COMPREPLY=( $(compgen -W "linux32 linux64 ppc32 ppc ppc64 - ppc64pseries ppc64iseries i386 - i486 i586 i686 athlon x86_64 - ia64 parisc32 parisc parisc64 - s390 s390x sparc sparc32bash - sparc32 sparc64 mips32 mips - mips64 alpha alphaev5 alphaev56 - alphaev6 alphaev67" -- $cur) ) + COMPREPLY=( $(compgen -W "$(setarch --list)" -- $cur) ) return 0 fi case $cur in |