mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
bash-completion: add missing options to systemd-dissect
This commit is contained in:
parent
c13d9199d6
commit
43aaa1b3d3
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue