1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

bash-completion: add missing options to systemd-dissect

This commit is contained in:
Antonio Alvarez Feijoo 2024-01-19 15:50:15 +01:00
parent c13d9199d6
commit 43aaa1b3d3
No known key found for this signature in database
GPG Key ID: B4EFC9173666A622

View 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
;;