]> err.no Git - systemd/commitdiff
bash: Add host, privileged, and no-pager bash option completions.
authorVille Skyttä <ville.skytta@iki.fi>
Sat, 18 Jun 2011 10:56:12 +0000 (13:56 +0300)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Jun 2011 15:56:07 +0000 (17:56 +0200)
src/systemctl-bash-completion.sh

index dc18ab6ccea3fccdd68628a8b0901023d7c4c0dd..acdc0866cd0112b922a894303c4b30c864797d6e 100644 (file)
@@ -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