summaryrefslogtreecommitdiffstats
path: root/shell-completion/zsh/_systemd-inhibit
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/zsh/_systemd-inhibit')
-rw-r--r--shell-completion/zsh/_systemd-inhibit6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell-completion/zsh/_systemd-inhibit b/shell-completion/zsh/_systemd-inhibit
index 059ef9e..08bcf42 100644
--- a/shell-completion/zsh/_systemd-inhibit
+++ b/shell-completion/zsh/_systemd-inhibit
@@ -26,8 +26,10 @@ _systemd-inhibit_what() {
}
_arguments \
- {-h,--help}'[Show this help]' \
- '--version[Show package version]' \
+ '(- *)'{-h,--help}'[Show this help]' \
+ '(- *)--version[Show package version]' \
+ '--no-pager[Do not pipe output into a pager]' \
+ '--no-legend[Do not show the headers and footers]' \
'--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:' \