diff options
author | Wang Sheng-Hui <shhuiw@gmail.com> | 2012-11-14 15:46:21 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-01-17 18:27:55 +0100 |
commit | 6b972e6fa59729018c49787680b45228bb0df16a (patch) | |
tree | 9c9011d990c3e144c69f0aac5acfd68312dca010 /debug-tree.c | |
parent | 9495b4d228cb11773ba223228e6ea11f486b28e1 (diff) |
btrfs-progs: update usage description for debug-tree.c
There are more options than "-e" only.
Update the description for the usage.
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Diffstat (limited to 'debug-tree.c')
-rw-r--r-- | debug-tree.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/debug-tree.c b/debug-tree.c index 94ffd8ee..f6bd5d8b 100644 --- a/debug-tree.c +++ b/debug-tree.c @@ -30,7 +30,15 @@ static int print_usage(void) { - fprintf(stderr, "usage: debug-tree [ -e ] device\n"); + fprintf(stderr, "usage: btrfs-debug-tree [ -e ] [ -d ] [ -r ] [ -R ]\n"); + fprintf(stderr, " [-b block_num ] device\n"); + fprintf(stderr, "\t-e : print detailed extents info\n"); + fprintf(stderr, "\t-d : print info of btrfs device and root tree dirs" + " only\n"); + fprintf(stderr, "\t-r : print info of roots only\n"); + fprintf(stderr, "\t-R : print info of roots and root backups\n"); + fprintf(stderr, "\t-b block_num : print info of the specified block" + " only\n"); fprintf(stderr, "%s\n", BTRFS_BUILD_VERSION); exit(1); } |