diff options
author | David Sterba <dsterba@suse.com> | 2016-07-26 19:30:39 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-07-26 19:30:39 +0200 |
commit | f6534e766aa53ee8fc7c2dbb4d9e428f85567cae (patch) | |
tree | 31bdd462d1a4c847a347a1719cc8cb3303d132bd /cmds-balance.c | |
parent | 6cd3ed9e7e351ddda4017b273da1b900f7ed1e34 (diff) |
btrfs-progs: balance: add another (shorter) option for background
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-balance.c')
-rw-r--r-- | cmds-balance.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 } }; |