]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
zsh-completion: fix completion for systemd-inhibit --what
authorDouglas Christman <DouglasChristman@gmail.com>
Sat, 25 May 2019 07:50:49 +0000 (15:50 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 May 2019 08:04:42 +0000 (10:04 +0200)
shell-completion/zsh/_systemd-inhibit

index c51c48516704fa4802b8f28cd2d8a85ae2e83201..4536f9bd2e5745c252becdc262e56870c1a1daac 100644 (file)
@@ -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 )' \