btrfs-progs: completion: let dump-tree/dump-super/inode-resolve accept any file
For dump-tree/dump-super the completion uses default filedir -d, which is far from convenient. Use filedir for dump-tree/dump-super/inode-resolve just like rootid. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
26300de037
commit
89fcbbc041
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ _btrfs()
|
|||
_btrfs_mnts
|
||||
return 0
|
||||
;;
|
||||
rootid)
|
||||
dump-tree|dump-super|rootid|inode-resolve)
|
||||
_filedir
|
||||
return 0
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue