zsh-completion: fix completion for systemd-inhibit --what

This commit is contained in:
Douglas Christman 2019-05-25 15:50:49 +08:00 committed by Zbigniew Jędrzejewski-Szmek
parent a54510c775
commit f003d62ec6

View 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 )' \