summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-06-18 13:56:12 +0300
committerLennart Poettering <lennart@poettering.net>2011-06-20 17:56:07 +0200
commitc98a949fb2e7e98cbfa107e3927ec6bdf9d066c9 (patch)
treeac3baea83b739c0ee1ceb75c6639aabe00455abf
parent4160ec67ba40eee5d14c5b96d37c89a3a5356f34 (diff)
bash: Add host, privileged, and no-pager bash option completions.
-rw-r--r--src/systemctl-bash-completion.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/systemctl-bash-completion.sh b/src/systemctl-bash-completion.sh
index dc18ab6cce..acdc0866cd 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