mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
bash-completion: add missing options to systemd-dissect
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user