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",
|
"long operation and the user is warned before this start, with",
|
||||||
"a delay to stop it.",
|
"a delay to stop it.",
|
||||||
"",
|
"",
|
||||||
"-d[filters] act on data chunks",
|
OPTLINE("-d[filters]", "act on data chunks with optional filters (no space in between)"),
|
||||||
"-m[filters] act on metadata chunks",
|
OPTLINE("-m[filters]", "act on metadata chunks with optinal filters (no space in between)"),
|
||||||
"-s[filters] act on system chunks (only under -f)",
|
OPTLINE("-s[filters]", "act on system chunks (only under -f) with optional filters (no space in between)"),
|
||||||
"-f force a reduction of metadata integrity, or",
|
OPTLINE("-f", "force a reduction of metadata integrity, or skip timeout when converting to RAID56 profiles"),
|
||||||
" skip timeout when converting to RAID56 profiles",
|
OPTLINE("--full-balance", "do not print warning and do not delay start"),
|
||||||
"--full-balance do not print warning and do not delay start",
|
OPTLINE("--background|--bg", "run the balance as a background process"),
|
||||||
"--background|--bg",
|
OPTLINE("--enqueue", "wait if there's another exclusive operation running, otherwise continue"),
|
||||||
" run the balance as a background process",
|
OPTLINE("-v|--verbose", "deprecated, alias for global -v option"),
|
||||||
"--enqueue wait if there's another exclusive operation running,",
|
|
||||||
" otherwise continue",
|
|
||||||
"-v|--verbose deprecated, alias for global -v option",
|
|
||||||
HELPINFO_INSERT_GLOBALS,
|
HELPINFO_INSERT_GLOBALS,
|
||||||
HELPINFO_INSERT_VERBOSE,
|
HELPINFO_INSERT_VERBOSE,
|
||||||
HELPINFO_INSERT_QUIET,
|
HELPINFO_INSERT_QUIET,
|
||||||
|
@ -748,7 +745,7 @@ static const char * const cmd_balance_status_usage[] = {
|
||||||
"btrfs balance status [-v] <path>",
|
"btrfs balance status [-v] <path>",
|
||||||
"Show status of running or paused balance",
|
"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_GLOBALS,
|
||||||
HELPINFO_INSERT_VERBOSE,
|
HELPINFO_INSERT_VERBOSE,
|
||||||
NULL
|
NULL
|
||||||
|
|
Loading…
Reference in New Issue