File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ _bootctl() {
3232 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
3333 local -A OPTS=(
3434 [STANDALONE]=' -h --help -p --print-esp-path -x --print-boot-path --version --no-variables --no-pager --graceful'
35- [ARG]=' --esp-path --boot-path'
35+ [ARG]=' --esp-path --boot-path --make-machine-id-directory '
3636 )
3737
3838 if __contains_word " $prev " ${OPTS[ARG]} ; then
@@ -45,6 +45,9 @@ _bootctl() {
4545 fi
4646 compopt -o filenames
4747 ;;
48+ --make-machine-id-directory)
49+ comps=" yes no auto"
50+ ;;
4851 esac
4952 COMPREPLY=( $( compgen -W ' $comps' -- " $cur " ) )
5053 return 0
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ _arguments \
6969 '--boot-path=[Path to the $BOOT partition]:path:_directories' \
7070 {-p,--print-esp-path}'[Print path to the EFI system partition]' \
7171 {-x,--print-boot-path}'[Print path to the $BOOT partition]' \
72+ '--make-machine-id-directory=[Control creation and deletion of the top-level machine ID directory.]:options:(yes no auto)' \
7273 '--no-variables[Do not touch EFI variables]' \
7374 '--no-pager[Do not pipe output into a pager]' \
7475 '--graceful[Do not fail when locating ESP or writing fails]' \
You can’t perform that action at this time.
0 commit comments