From f6534e766aa53ee8fc7c2dbb4d9e428f85567cae Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 26 Jul 2016 19:30:39 +0200 Subject: btrfs-progs: balance: add another (shorter) option for background Signed-off-by: David Sterba --- cmds-balance.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmds-balance.c') diff --git a/cmds-balance.c b/cmds-balance.c index c9f1288a..f17345ed 100644 --- a/cmds-balance.c +++ b/cmds-balance.c @@ -510,7 +510,8 @@ static const char * const cmd_balance_start_usage[] = { "-v be verbose", "-f force reducing of metadata integrity", "--full-balance do not print warning and do not delay start", - "--background run the balance as a background process", + "--background|--bg", + " run the balance as a background process", NULL }; @@ -540,6 +541,7 @@ static int cmd_balance_start(int argc, char **argv) GETOPT_VAL_FULL_BALANCE }, { "background", no_argument, NULL, GETOPT_VAL_BACKGROUND }, + { "bg", no_argument, NULL, GETOPT_VAL_BACKGROUND }, { NULL, 0, NULL, 0 } }; -- cgit v1.2.3