shell-completion: add --wait to systemd-run completions (#4140)

This commit is contained in:
Davide Cavalca 2016-09-14 13:38:53 -07:00 committed by Martin Pitt
parent bf6585ce64
commit c0f9116d6c
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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'