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:
Qu Wenruo 2018-08-13 14:02:44 +08:00 committed by David Sterba
parent 26300de037
commit 89fcbbc041

View File

@ -128,7 +128,7 @@ _btrfs()
_btrfs_mnts _btrfs_mnts
return 0 return 0
;; ;;
rootid) dump-tree|dump-super|rootid|inode-resolve)
_filedir _filedir
return 0 return 0
;; ;;