File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ _ugrd_autocomplete() {
44 local cur prev args
55 cur=" ${COMP_WORDS[COMP_CWORD]} "
66 prev=" ${COMP_WORDS[COMP_CWORD-1]} "
7- args=" --build-logging --no-build-logging -c --config --kernel-version --kver --clean --no-clean --validate --no-validate --hostonly --no-hostonly\
8- --lspci --no-lspci --lsmod --no-lsmod --firmware --no-firmware --autodetect-root --no-autodetect-root --autodetect-root-luks\
9- --no-autodetect-root-luks --print-config -d --debug --help -h -dd --verbose --log-file --log-level -v --version"
7+ args=" -c --config --kernel-version --kver --log-file --log-level"
8+ while read -r option _; do
9+ args+=" ${option} "
10+ done <<< " $(ugrd --dump_args)"
1011
1112 COMPREPLY=()
12-
1313 case " ${prev} " in
1414 --config|-c)
1515 mapfile -t COMPREPLY < <( compgen -f -- " ${cur} " )
You can’t perform that action at this time.
0 commit comments