[systemd-commits] src/systemctl-bash-completion.sh
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Jun 20 08:56:34 PDT 2011
src/systemctl-bash-completion.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c98a949fb2e7e98cbfa107e3927ec6bdf9d066c9
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jun 18 13:56:12 2011 +0300
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 dc18ab6..acdc086 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
More information about the systemd-commits
mailing list