summaryrefslogtreecommitdiffstats
path: root/shell-completion/zsh/_networkctl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:40 +0000
commitfc53809803cd2bc2434e312b19a18fa36776da12 (patch)
treeb4b43bd6538f51965ce32856e9c053d0f90919c8 /shell-completion/zsh/_networkctl
parentAdding upstream version 255.5. (diff)
downloadsystemd-fc53809803cd2bc2434e312b19a18fa36776da12.tar.xz
systemd-fc53809803cd2bc2434e312b19a18fa36776da12.zip
Adding upstream version 256.upstream/256
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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'