From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH v2 2/2] btrfs-progs: completion: Let dump-tree/dump-super/inode-resolve to accept any file
Date: Mon, 13 Aug 2018 14:02:44 +0800 [thread overview]
Message-ID: <20180813060244.8795-3-wqu@suse.com> (raw)
In-Reply-To: <20180813060244.8795-1-wqu@suse.com>
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>
---
btrfs-completion | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/btrfs-completion b/btrfs-completion
index b7628e6984c5..6ae57d1b752b 100644
--- a/btrfs-completion
+++ b/btrfs-completion
@@ -128,7 +128,7 @@ _btrfs()
_btrfs_mnts
return 0
;;
- rootid)
+ dump-tree|dump-super|rootid|inode-resolve)
_filedir
return 0
;;
--
2.18.0
next prev parent reply other threads:[~2018-08-13 8:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-13 6:02 [PATCH v2 0/2] btrfs-progs: completion: Small fixes to make debug simpler Qu Wenruo
2018-08-13 6:02 ` [PATCH v2 1/2] btrfs-progs: completion: Use _filedir() to replace _btrfs_devs() Qu Wenruo
2018-08-13 6:02 ` Qu Wenruo [this message]
2018-08-20 13:40 ` [PATCH v2 0/2] btrfs-progs: completion: Small fixes to make debug simpler David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180813060244.8795-3-wqu@suse.com \
--to=wqu@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).