From: Douglas Christman Date: Sat, 25 May 2019 07:50:49 +0000 (+0800) Subject: zsh-completion: fix completion for systemd-inhibit --what X-Git-Tag: v243-rc1~370 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f003d62ec6f07b5a0acec8bc1fcee1589b49b636;p=thirdparty%2Fsystemd.git zsh-completion: fix completion for systemd-inhibit --what --- diff --git a/shell-completion/zsh/_systemd-inhibit b/shell-completion/zsh/_systemd-inhibit index c51c4851670..4536f9bd2e5 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 )' \