summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-07-26 13:52:34 +0200
committerGitHub <noreply@github.com>2024-07-26 13:52:34 +0200
commite520b1258c21cc8b1d22df157bc3e6d1f3604515 (patch)
treeb44070e4c6f4d15ba651171ce687741a5f5ce495 /shell-completion
parentresolved: Don't retry queries that indicate net error (diff)
parentNEWS: mention logind inhibitors change (diff)
downloadsystemd-e520b1258c21cc8b1d22df157bc3e6d1f3604515.tar.xz
systemd-e520b1258c21cc8b1d22df157bc3e6d1f3604515.zip
Merge pull request #30307 from bluca/enforce_inhibitors
logind: always check for inhibitor locks
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_systemd-inhibit2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/zsh/_systemd-inhibit b/shell-completion/zsh/_systemd-inhibit
index 08bcf4208d..d43c781834 100644
--- a/shell-completion/zsh/_systemd-inhibit
+++ b/shell-completion/zsh/_systemd-inhibit
@@ -33,6 +33,6 @@ _arguments \
'--what=[Operations to inhibit]:options:_systemd-inhibit_what' \
'--who=[A descriptive string who is inhibiting]:who is inhibiting:' \
'--why=[A descriptive string why is being inhibited]:reason for the lock:' \
- '--mode=[One of block or delay]:lock mode:( block delay )' \
+ '--mode=[One of block, block-weak, delay, or delay-weak]:lock mode:( block block-weak delay delay-weak )' \
'--list[List active inhibitors]' \
'*:commands:_systemd-inhibit_commands'