Add missing -n shorthand for --dry-run in shell completion (#43581)
This commit is contained in:
@@ -37,7 +37,7 @@ _bootctl() {
|
||||
--print-stub-path -R --print-root-device -RR
|
||||
--print-efi-architecture
|
||||
--no-pager --graceful -q --quiet --all-architectures
|
||||
--dry-run'
|
||||
-n --dry-run'
|
||||
[ARG]='--esp-path --boot-path --root --image --image-policy --install-source
|
||||
--variables --random-seed --make-entry-directory --entry-token --json
|
||||
--efi-boot-option-description --efi-boot-option-description-with-device
|
||||
|
||||
@@ -104,7 +104,7 @@ _arguments \
|
||||
'--make-machine-id-directory=[Control creation and deletion of the top-level machine ID directory.]:options:(yes no auto)' \
|
||||
'--no-pager[Do not pipe output into a pager]' \
|
||||
'--graceful[Do not fail when locating ESP or writing fails]' \
|
||||
'--dry-run[Dry run (unlink and cleanup)]' \
|
||||
'(-n --dry-run)'{-n,--dry-run}'[Dry run (unlink and cleanup)]' \
|
||||
'--oldest=[Delete oldest boot menu entry]:options:(yes no)' \
|
||||
'--root=[Operate under the specified directory]:PATH' \
|
||||
'--image=[Operate on the specified image]:PATH' \
|
||||
|
||||
@@ -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"'
|
||||
|
||||
@@ -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)' \
|
||||
|
||||
Reference in New Issue
Block a user