Skip to contentSkip to conversation

btrfs-progs: check: fix indent --clear-ino-cache option

PATCH In review Qu Wenruo 2 participants 2 messages Sep 23, 2021 Btrfs file system

lore
Share & tools
lore

Qu Wenruo

author
#0 lore raw

PATCH 1/1 btrfs-progs: check: fix indent --clear-ino-cache option

Help string for "--clear-ino-cache" option is not following the indent of other help strings:

repair options:
--init-csum-tree create a new CRC tree
--init-extent-tree create a new extent tree
--clear-space-cache v1|v2 clear space cache for v1 or v2
--clear-ino-cache clear ino cache leftover items

The problem is caused by the usage of tab instead of space as indent.

Fix it by using space instead.

---
 check/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
check/main.c +1 -1
index 661c996a2cb1..182105691775 100644
@@ -10354,7 +10354,7 @@ static const char * const cmd_check_usage[] = {
 	"       --init-csum-tree            create a new CRC tree",
 	"       --init-extent-tree          create a new extent tree",
 	"       --clear-space-cache v1|v2   clear space cache for v1 or v2",
-	"       --clear-ino-cache 	    clear ino cache leftover items",
+	"       --clear-ino-cache           clear ino cache leftover items",
 	"  check and reporting options:",
 	"       --check-data-csum           verify checksums of data blocks",
 	"       -Q|--qgroup-report          print a report on qgroup consistency",
Signature · 1 line
2.33.0
#1 lore raw
Quoted 9 lines · Qu Wenruo

Help string for "--clear-ino-cache" option is not following the indent of other help strings:

repair options:
--init-csum-tree create a new CRC tree
--init-extent-tree create a new extent tree
--clear-space-cache v1|v2 clear space cache for v1 or v2
--clear-ino-cache clear ino cache leftover items

Quoted 5 lines

The problem is caused by the usage of tab instead of space as indent.

Fix it by using space instead.

Added to devel, thanks.