From: Ville Skyttä Date: Sat, 18 Jun 2011 10:56:12 +0000 (+0300) Subject: bash: Add host, privileged, and no-pager bash option completions. X-Git-Tag: v30~194 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c98a949fb2e7e98cbfa107e3927ec6bdf9d066c9;p=systemd bash: Add host, privileged, and no-pager bash option completions. --- diff --git a/src/systemctl-bash-completion.sh b/src/systemctl-bash-completion.sh index dc18ab6c..acdc0866 100644 --- a/src/systemctl-bash-completion.sh +++ b/src/systemctl-bash-completion.sh @@ -43,9 +43,9 @@ _systemctl () { local -A OPTS=( [STANDALONE]='--all -a --defaults --fail --ignore-dependencies --failed --force -f --full --global - --help -h --no-ask-password --no-block --no-reload --no-wall - --order --require --quiet -q --system --user --version' - [ARG]='--kill-mode --kill-who --property -p --signal -s --type -t' + --help -h --no-ask-password --no-block --no-pager --no-reload --no-wall + --order --require --quiet -q --privileged -P --system --user --version' + [ARG]='--host -H --kill-mode --kill-who --property -p --signal -s --type -t' ) if __contains_word "$prev" ${OPTS[ARG]}; then @@ -62,7 +62,7 @@ _systemctl () { --kill-mode) comps='control-group process' ;; - --property|-p) + --property|-p|--host|-H) comps='' ;; esac