btrfs-progs: balance: add another (shorter) option for background

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-07-26 19:30:39 +02:00
parent 6cd3ed9e7e
commit f6534e766a
1 changed files with 3 additions and 1 deletions

View File

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