diff --git a/shell-completion/zsh/_systemd-tmpfiles b/shell-completion/zsh/_systemd-tmpfiles index 1e3ddb873e..72b9a8759c 100644 --- a/shell-completion/zsh/_systemd-tmpfiles +++ b/shell-completion/zsh/_systemd-tmpfiles @@ -5,8 +5,8 @@ _arguments \ '(- *)'{-h,--help}'[Show help]' \ '--user[Execute user configuration]' \ '(- *)--version[Show package version]' \ - '(--tldr --dry-run)--cat-config[Show configuration files]' \ - '(--cat-config --dry-run)--tldr[Show non-comment parts of configuration]' \ + '(--tldr -n --dry-run)--cat-config[Show configuration files]' \ + '(--cat-config -n --dry-run)--tldr[Show non-comment parts of configuration]' \ '--create[Create, set ownership/permissions based on the config files.]' \ '--clean[Clean up all files and directories with an age parameter configured.]' \ '--remove[All files and directories marked with r, R in the configuration files are removed.]' \ @@ -20,6 +20,6 @@ _arguments \ '--image=[Operate on disk image as filesystem root]:image' \ '--image-policy=[Specify disk image dissection policy]:policy' \ '--replace=[Treat arguments as replacement for PATH]:PATH' \ - '(--cat-config --tldr)--dry-run[Just print what would be done]' \ + '(--cat-config --tldr)'{-n,--dry-run}'[Just print what would be done]' \ '--no-pager[Do not pipe output into a pager]' \ '*::files:_files -g "*.conf"' diff --git a/shell-completion/zsh/_udevadm b/shell-completion/zsh/_udevadm index 7e717d30a3..e0112b3ed5 100644 --- a/shell-completion/zsh/_udevadm +++ b/shell-completion/zsh/_udevadm @@ -27,7 +27,7 @@ _udevadm_trigger(){ '(-)'{-h,--help}'[Show help]' \ '(-)'{-V,--version}'[Show package version]' \ '--verbose[Print the list of devices which will be triggered.]' \ - '--dry-run[Do not actually trigger the event.]' \ + '(-n --dry-run)'{-n,--dry-run}'[Do not actually trigger the event.]' \ '--quiet[Suppress error logging in triggering events.]' \ '--type=[Trigger a specific type of devices.]:types:(all devices subsystems failed)' \ '--action=[Type of event to be triggered.]:actions:(add change remove move online offline bind unbind)' \