summaryrefslogtreecommitdiffstats
path: root/shell-completion/zsh/_networkctl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/zsh/_networkctl')
-rw-r--r--shell-completion/zsh/_networkctl10
1 files changed, 5 insertions, 5 deletions
diff --git a/shell-completion/zsh/_networkctl b/shell-completion/zsh/_networkctl
index c7d1e3a..6969797 100644
--- a/shell-completion/zsh/_networkctl
+++ b/shell-completion/zsh/_networkctl
@@ -49,12 +49,12 @@
}
_arguments \
- {-a,--all}'[Show all links with status]' \
+ '(-a --all)'{-a,--all}'[Show all links with status]' \
'--no-pager[Do not pipe output into a pager]' \
'--no-legend[Do not print the column headers]' \
- {-h,--help}'[Show this help]' \
- '--version[Show package version]' \
- '--drop-in=[Use the given drop-in file name]' \
+ '(- *)'{-h,--help}'[Show this help]' \
+ '(- *)--version[Show package version]' \
+ '--drop-in=[Use the given drop-in file name]:NAME' \
'--no-reload[Do not reload the network manager state when editing]' \
- '--json[Shows output formatted as JSON]:format:_networkctl_get_json' \
+ '--json=[Shows output formatted as JSON]:format:_networkctl_get_json' \
'*::networkctl commands:_networkctl_commands'