summaryrefslogtreecommitdiffstats
path: root/shell-completion/zsh/_bootctl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/zsh/_bootctl')
-rw-r--r--shell-completion/zsh/_bootctl8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell-completion/zsh/_bootctl b/shell-completion/zsh/_bootctl
index 83d910c..f021978 100644
--- a/shell-completion/zsh/_bootctl
+++ b/shell-completion/zsh/_bootctl
@@ -69,12 +69,12 @@ _bootctl_reboot-to-firmware() {
}
_arguments \
- {-h,--help}'[Prints a short help text and exits.]' \
- '--version[Prints a short version string and exits.]' \
+ '(- *)'{-h,--help}'[Prints a short help text and exits.]' \
+ '(- *)--version[Prints a short version string and exits.]' \
'--esp-path=[Path to the EFI System Partition (ESP)]:path:_directories' \
'--boot-path=[Path to the $BOOT partition]:path:_directories' \
- {-p,--print-esp-path}'[Print path to the EFI system partition]' \
- {-x,--print-boot-path}'[Print path to the $BOOT partition]' \
+ '(-p --print-esp-path)'{-p,--print-esp-path}'[Print path to the EFI system partition]' \
+ '(-x --print-boot-path)'{-x,--print-boot-path}'[Print path to the $BOOT partition]' \
'--make-machine-id-directory=[Control creation and deletion of the top-level machine ID directory.]:options:(yes no auto)' \
'--no-variables[Do not touch EFI variables]' \
'--no-pager[Do not pipe output into a pager]' \