diff options
| -rw-r--r-- | bash-completion/setarch | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bash-completion/setarch b/bash-completion/setarch index 4496e97df8..7d7bdb00c5 100644 --- a/bash-completion/setarch +++ b/bash-completion/setarch @@ -10,7 +10,14 @@ _setarch_module() ;; esac if [ $COMP_CWORD -eq 1 ]; then - COMPREPLY=( $(compgen -W "$($1 --list)" -- $cur) ) + OPTS="$($1 --list)" + OPTS="$OPTS + --list + --help + --version + --show + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) return 0 fi case $cur in |
