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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 cmds/balance.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
 };
 
-- 
1.8.3.1




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux