btrfs-progs: balance: convert help text to option formatter
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
dde2f15010
commit
38f90c6ad6
|
@ -365,17 +365,14 @@ static const char * const cmd_balance_start_usage[] = {
|
|||
"long operation and the user is warned before this start, with",
|
||||
"a delay to stop it.",
|
||||
"",
|
||||
"-d[filters] act on data chunks",
|
||||
"-m[filters] act on metadata chunks",
|
||||
"-s[filters] act on system chunks (only under -f)",
|
||||
"-f force a reduction of metadata integrity, or",
|
||||
" skip timeout when converting to RAID56 profiles",
|
||||
"--full-balance do not print warning and do not delay start",
|
||||
"--background|--bg",
|
||||
" run the balance as a background process",
|
||||
"--enqueue wait if there's another exclusive operation running,",
|
||||
" otherwise continue",
|
||||
"-v|--verbose deprecated, alias for global -v option",
|
||||
OPTLINE("-d[filters]", "act on data chunks with optional filters (no space in between)"),
|
||||
OPTLINE("-m[filters]", "act on metadata chunks with optinal filters (no space in between)"),
|
||||
OPTLINE("-s[filters]", "act on system chunks (only under -f) with optional filters (no space in between)"),
|
||||
OPTLINE("-f", "force a reduction of metadata integrity, or skip timeout when converting to RAID56 profiles"),
|
||||
OPTLINE("--full-balance", "do not print warning and do not delay start"),
|
||||
OPTLINE("--background|--bg", "run the balance as a background process"),
|
||||
OPTLINE("--enqueue", "wait if there's another exclusive operation running, otherwise continue"),
|
||||
OPTLINE("-v|--verbose", "deprecated, alias for global -v option"),
|
||||
HELPINFO_INSERT_GLOBALS,
|
||||
HELPINFO_INSERT_VERBOSE,
|
||||
HELPINFO_INSERT_QUIET,
|
||||
|
@ -748,7 +745,7 @@ static const char * const cmd_balance_status_usage[] = {
|
|||
"btrfs balance status [-v] <path>",
|
||||
"Show status of running or paused balance",
|
||||
"",
|
||||
"-v|--verbose deprecated, alias for global -v option",
|
||||
OPTLINE("-v|--verbose", "deprecated, alias for global -v option"),
|
||||
HELPINFO_INSERT_GLOBALS,
|
||||
HELPINFO_INSERT_VERBOSE,
|
||||
NULL
|
||||
|
|
Loading…
Reference in New Issue