diff mbox series

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

Message ID 20210923085649.109622-1-wqu@suse.com (mailing list archive)
State New, archived
Headers show
Series btrfs-progs: check: fix indent --clear-ino-cache option | expand

Commit Message

Qu Wenruo Sept. 23, 2021, 8:56 a.m. UTC
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.

Signed-off-by: Qu Wenruo <wqu@suse.com>
---
 check/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Sterba Sept. 23, 2021, 12:30 p.m. UTC | #1
On Thu, Sep 23, 2021 at 04:56:49PM +0800, Qu Wenruo wrote:
> 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.
> 
> Signed-off-by: Qu Wenruo <wqu@suse.com>

Added to devel, thanks.
diff mbox series

Patch

diff --git a/check/main.c b/check/main.c
index 661c996a2cb1..182105691775 100644
--- a/check/main.c
+++ b/check/main.c
@@ -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",