[RFC,06/14] btrfs-progs: fix help, show long option in balance start and status
diff mbox series

Message ID 1571652082-25982-7-git-send-email-anand.jain@oracle.com
State New
Headers show
Series
  • btrfs-progs: global-verbose option
Related show

Commit Message

Anand Jain Oct. 21, 2019, 10:01 a.m. UTC
btrfs balance start|status support both short and long option
-v|--verbose however failed to show it in its --help. This patch fixes
the --help.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 cmds/balance.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/cmds/balance.c b/cmds/balance.c
index d4916c5fb34e..06bab9f7f96f 100644
--- a/cmds/balance.c
+++ b/cmds/balance.c
@@ -492,7 +492,7 @@  static const char * const cmd_balance_start_usage[] = {
 	"-d[filters]        act on data chunks",
 	"-m[filters]        act on metadata chunks",
 	"-s[filters]        act on system chunks (only under -f)",
-	HELPINFO_INSERT_VERBOSE_SHORT,
+	HELPINFO_INSERT_VERBOSE,
 	"-f                 force a reduction of metadata integrity",
 	"--full-balance     do not print warning and do not delay start",
 	"--background|--bg  run the balance as a background process",
@@ -822,7 +822,7 @@  static const char * const cmd_balance_status_usage[] = {
 	"btrfs balance status [-v] <path>",
 	"Show status of running or paused balance",
 	"",
-	HELPINFO_INSERT_VERBOSE_SHORT,
+	HELPINFO_INSERT_VERBOSE,
 	NULL
 };