From: Davide Cavalca Date: Wed, 14 Sep 2016 20:38:53 +0000 (-0700) Subject: shell-completion: add --wait to systemd-run completions (#4140) X-Git-Tag: v232~215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0f9116d6cd795edd9d4df8d27a87a7232d3e675;p=thirdparty%2Fsystemd.git shell-completion: add --wait to systemd-run completions (#4140) --- diff --git a/shell-completion/bash/systemd-run b/shell-completion/bash/systemd-run index 022331e6a9b..4116ba7eca0 100644 --- a/shell-completion/bash/systemd-run +++ b/shell-completion/bash/systemd-run @@ -36,7 +36,8 @@ _systemd_run() { -r --remain-after-exit --send-sighup -H --host -M --machine --service-type --on-active --on-boot --on-startup --on-unit-active --on-unit-inactive --on-calendar --timer-property -t --pty -q --quiet --no-block - --uid --gid --nice --setenv -p --property --no-ask-password' + --uid --gid --nice --setenv -p --property --no-ask-password + --wait' local mode=--system local i diff --git a/shell-completion/zsh/_systemd-run b/shell-completion/zsh/_systemd-run index 6362b977664..da9f73a6d05 100644 --- a/shell-completion/zsh/_systemd-run +++ b/shell-completion/zsh/_systemd-run @@ -57,4 +57,5 @@ _arguments \ '--on-unit-inactive=[Run after SEC seconds from the last deactivation]:SEC' \ '--on-calendar=[Realtime timer]:SPEC' \ '--timer-property=[Set timer unit property]:NAME=VALUE' \ + '--wait=[Wait until service stopped again]' \ '*::command:_command'