From 0e7d891a158dc2038c9d410a766b2a7c160f665b Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Wed, 11 Sep 2019 16:55:52 +0300 Subject: [PATCH] btrfs-progs: corrupt-block: Fix description of 'r' option Since commit 04be0e4b1962 ("btrfs-progs: corrupt-block: Correctly handle -r when passing -I") the 'r' switch is used with both -I and -d options. So remove the wrong clarificatoin that -r is used only with -d option. Signed-off-by: Nikolay Borisov Signed-off-by: David Sterba --- btrfs-corrupt-block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c index bbef0c02..716439a5 100644 --- a/btrfs-corrupt-block.c +++ b/btrfs-corrupt-block.c @@ -119,7 +119,7 @@ static void print_usage(int ret) printf("\t-I Corrupt an item corresponding to the passed key triplet (must also specify the field to corrupt and root for the item)\n"); printf("\t-D Corrupt a dir item corresponding to the passed key triplet, must also specify a field\n"); printf("\t-d Delete item corresponding to passed key triplet\n"); - printf("\t-r Operate on this root (only works with -d)\n"); + printf("\t-r Operate on this root\n"); printf("\t-C Delete a csum for the specified bytenr. When used with -b it'll delete that many bytes, otherwise it's just sectorsize\n"); exit(ret); }