btrfs-progs: completion: update mkswapfile, tree-stats and map-swapfile

All the three commands need a file, update the completion rules.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2024-06-13 01:56:14 +02:00
parent 9957162313
commit 779028a277
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ _btrfs()
case $cmd in
filesystem)
case $prev in
du|defragment)
du|defragment|mkswapfile)
_filedir
return 0
;;
@ -128,7 +128,7 @@ _btrfs()
_btrfs_mnts
return 0
;;
dump-tree|dump-super|rootid|inode-resolve)
dump-tree|dump-super|rootid|inode-resolve|tree-stats|map-swapfile)
_filedir
return 0
;;