linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: check: fix indent --clear-ino-cache option
@ 2021-09-23  8:56 Qu Wenruo
  2021-09-23 12:30 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Qu Wenruo @ 2021-09-23  8:56 UTC (permalink / raw)
  To: linux-btrfs

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(-)

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",
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] btrfs-progs: check: fix indent --clear-ino-cache option
  2021-09-23  8:56 [PATCH] btrfs-progs: check: fix indent --clear-ino-cache option Qu Wenruo
@ 2021-09-23 12:30 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2021-09-23 12:30 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: linux-btrfs

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-23 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  8:56 [PATCH] btrfs-progs: check: fix indent --clear-ino-cache option Qu Wenruo
2021-09-23 12:30 ` David Sterba

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).