]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(shell-completion): add missing -p and --parallel options
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 25 Aug 2022 12:59:20 +0000 (14:59 +0200)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Fri, 26 Aug 2022 07:06:34 +0000 (07:06 +0000)
shell-completion/bash/dracut

index dbc66964401c175e49fe79198d45d2b71d70cbdd..8fff2418c02b4cdd43c2447dcbc3a17fb01c59e7 100644 (file)
@@ -25,7 +25,7 @@ __contains_word() {
 _dracut() {
     local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD - 1]}
     local -A OPTS=(
-        [STANDALONE]='-f -v -q -l -H -h -M -N
+        [STANDALONE]='-f -v -q -l -H -h -M -N -p
             --ro-mnt --force --kernel-only --no-kernel --strip --nostrip
             --hardlink --nohardlink --noprefix --mdadmconf --nomdadmconf
             --lvmconf --nolvmconf --debug --profile --verbose --quiet
@@ -36,7 +36,7 @@ _dracut() {
             --enhanced-cpio --rebuild --aggressive-strip --hostonly-cmdline
             --no-hostonly-cmdline --no-hostonly-default-device --nofscks
             --hostonly-i18n --no-hostonly-i18n --lzo --lz4 --no-reproducible
-            --no-uefi --no-machineid --version
+            --no-uefi --no-machineid --version --parallel
             '
         [ARG]='-a -m -o -d -I -k -c -L -r -i
             --kver --add --force-add --add-drivers --force-drivers