chiark / gitweb /
dbus: add dbus introspection extraction
[elogind.git] / src / systemctl-bash-completion.sh
index ae0ecb7b70c4d0361e6fa4b9fd374f0fcdbcd015..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
@@ -81,7 +81,7 @@ _systemctl () {
              [FAILED_UNITS]='reset-failed'
           [STARTABLE_UNITS]='start restart reload-or-restart'
           [STOPPABLE_UNITS]='stop kill try-restart condrestart'
-         [ISOLATEBLE_UNITS]='isolate'
+         [ISOLATABLE_UNITS]='isolate'
          [RELOADABLE_UNITS]='reload reload-or-try-restart force-reload'
                      [JOBS]='cancel'
                 [SNAPSHOTS]='delete'