projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd3ed9
)
btrfs-progs: balance: add another (shorter) option for background
author
David Sterba
<dsterba@suse.com>
Tue, 26 Jul 2016 17:30:39 +0000
(19:30 +0200)
committer
David Sterba
<dsterba@suse.com>
Tue, 26 Jul 2016 17:30:39 +0000
(19:30 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-balance.c
patch
|
blob
|
history
diff --git
a/cmds-balance.c
b/cmds-balance.c
index
c9f1288
..
f17345e
100644
(file)
--- 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 }
};