shell-completion: Add completion in bootctl

Added new completion for `--make-machine-id-directory`
provideds 3 options(yes no auto)

Closes: #22308
This commit is contained in:
Nishal Kulkarni
2022-03-18 09:19:56 +00:00
committed by Luca Boccassi
parent c3e7fba07c
commit f1c70ed13d
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -69,6 +69,7 @@ _arguments \
'--boot-path=[Path to the $BOOT partition]:path:_directories' \
{-p,--print-esp-path}'[Print path to the EFI system partition]' \
{-x,--print-boot-path}'[Print path to the $BOOT partition]' \
'--make-machine-id-directory=[Control creation and deletion of the top-level machine ID directory.]:options:(yes no auto)' \
'--no-variables[Do not touch EFI variables]' \
'--no-pager[Do not pipe output into a pager]' \
'--graceful[Do not fail when locating ESP or writing fails]' \