]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: add missing options to systemd-dissect
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 19 Jan 2024 14:50:15 +0000 (15:50 +0100)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 19 Jan 2024 14:50:15 +0000 (15:50 +0100)
shell-completion/bash/systemd-dissect

index 4bb203a2f8f54c01cc3f9d5198cc445f3fa0913a..17fb6420dea6d7bb189f0bfb7fc82179c68a7d2e 100644 (file)
@@ -37,6 +37,8 @@ _systemd_dissect() {
                      --in-memory'
         [ARG]='-m --mount -M
                -u --umount -U
+               --attach
+               --detach
                -l --list
                --mtree
                --with
@@ -72,7 +74,7 @@ _systemd_dissect() {
 
     if __contains_word "$prev_1" ${OPTS[ARG]}; then
         case $prev_1 in
-            -l|--list|--mtree|-m|--mount|-M|-x|--copy-from|-a|--copy-to|--verity-data|--validate|--with)
+            -l|--list|--mtree|-m|--mount|-M|--attach|--detach|-x|--copy-from|-a|--copy-to|--verity-data|--validate|--with)
                 comps=$(compgen -A file -- "$cur")
                 compopt -o filenames
                 ;;