On Mon, Aug 13, 2018 at 02:02:42PM +0800, Qu Wenruo wrote: > For developer, it's pretty common to use "btrfs check" or "btrfs ins > dump-tree" on raw dumps. > Even for end user, they may hit case where they need to run "btrfs check" > on raw images. > > However "btrfs check" can only complete real block devices, and > "btrfs inspect dump-tree" can only complete dir. > > Make them to use _filedir() so any filename can be completed and save us > developer a little time and nerve hitting that holy tab. > > changelog: > v2: > Discard _btrfs_dev() macro completely. > > Qu Wenruo (2): > btrfs-progs: completion: Use _filedir() to replace _btrfs_devs() > btrfs-progs: completion: Let dump-tree/dump-super/inode-resolve to > accept any file Applied, thanks.
