diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-11 23:05:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 23:05:37 +0200 |
commit | 5c791053e3fc7f972adb1cbe108194e8ecfc9bf1 (patch) | |
tree | b22625f5051a915c259f550f30e195874a375476 /shell-completion | |
parent | f533135c6ce8de641ebf9cdf8deb53faa723479f (diff) | |
parent | 39ddc32a86d4aff15b07c8993d1cff0fe1fa4123 (diff) | |
download | systemd-5c791053e3fc7f972adb1cbe108194e8ecfc9bf1.tar.gz |
Merge pull request #20776 from medhefgo/boot-timeout
sd-boot: Allow disabling timeout
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/bootctl | 2 | ||||
-rw-r--r-- | shell-completion/zsh/_bootctl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl index e61188fee9..190e3d33f5 100644 --- a/shell-completion/bash/bootctl +++ b/shell-completion/bash/bootctl @@ -57,7 +57,7 @@ _bootctl() { local -A VERBS=( # systemd-efi-options takes an argument, but it is free-form, so we cannot complete it - [STANDALONE]='help status install update remove is-installed random-seed systemd-efi-options list' + [STANDALONE]='help status install update remove is-installed random-seed systemd-efi-options list set-timeout set-timeout-oneshot' [BOOTENTRY]='set-default set-oneshot' [BOOLEAN]='reboot-to-firmware' ) diff --git a/shell-completion/zsh/_bootctl b/shell-completion/zsh/_bootctl index 2b50f307f1..87ecbe37c3 100644 --- a/shell-completion/zsh/_bootctl +++ b/shell-completion/zsh/_bootctl @@ -46,6 +46,8 @@ _bootctl_reboot-to-firmware() { "list:List boot loader entries" "set-default:Set the default boot loader entry" "set-oneshot:Set the default boot loader entry only for the next boot" + "set-timeout:Set the menu timeout" + "set-timeout-oneshot:Set the menu timeout for the next boot only" ) if (( CURRENT == 1 )); then _describe -t commands 'bootctl command' _bootctl_cmds || compadd "$@" |