From: Sami Kerola Date: Mon, 8 Apr 2013 19:32:47 +0000 (+0100) Subject: bash-completion: setarch: use correct list for architectures X-Git-Tag: v2.23-rc2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ad488cca9e3dbb7c2e99b578171733e18876404;p=thirdparty%2Futil-linux.git bash-completion: setarch: use correct list for architectures Signed-off-by: Sami Kerola --- diff --git a/bash-completion/setarch b/bash-completion/setarch index 80aabd5aa2..b2c6a074b0 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