shell-completion: Add -n option for bootctl

Introduced in f5ffb38606
This commit is contained in:
Jelle van der Waa
2026-08-31 15:24:30 +02:00
parent 6ede84602c
commit 55ed2ee63e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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' \