mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-23 04:04:33 +08:00
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:
parent
9957162313
commit
779028a277
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user