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
|
case $cmd in
|
||||||
filesystem)
|
filesystem)
|
||||||
case $prev in
|
case $prev in
|
||||||
du|defragment)
|
du|defragment|mkswapfile)
|
||||||
_filedir
|
_filedir
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
@ -128,7 +128,7 @@ _btrfs()
|
||||||
_btrfs_mnts
|
_btrfs_mnts
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
dump-tree|dump-super|rootid|inode-resolve)
|
dump-tree|dump-super|rootid|inode-resolve|tree-stats|map-swapfile)
|
||||||
_filedir
|
_filedir
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue