diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl index 16aafbe4ce..6823ca3546 100644 --- a/shell-completion/bash/bootctl +++ b/shell-completion/bash/bootctl @@ -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 diff --git a/shell-completion/zsh/_bootctl b/shell-completion/zsh/_bootctl index 46956e55e3..c63f8ab8a6 100644 --- a/shell-completion/zsh/_bootctl +++ b/shell-completion/zsh/_bootctl @@ -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' \