mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
shell-completion: add --wait to systemd-run completions (#4140)
This commit is contained in:
parent
bf6585ce64
commit
c0f9116d6c
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user