summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorDouglas Christman <DouglasChristman@gmail.com>2019-05-25 15:50:49 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-28 10:04:42 +0200
commitf003d62ec6f07b5a0acec8bc1fcee1589b49b636 (patch)
treea644d6ffe63d5ac11a1b3b174203c1f983f24bd6 /shell-completion
parenta54510c7754b830e95916a36c1ca17f80bceb084 (diff)
downloadsystemd-f003d62ec6f07b5a0acec8bc1fcee1589b49b636.tar.gz
zsh-completion: fix completion for systemd-inhibit --what
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 c51c485167..4536f9bd2e 100644
--- a/shell-completion/zsh/_systemd-inhibit
+++ b/shell-completion/zsh/_systemd-inhibit
@@ -28,7 +28,7 @@ _systemd-inhibit_what() {
_arguments \
{-h,--help}'[Show this help]' \
'--version[Show package version]' \
- '--what=[Operations to inhibit]:options:_inhibit_what' \
+ '--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 )' \