btrfs-progs: receive: convert help text to option formatter
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
a958ad85ec
commit
0a09370313
|
@ -1628,25 +1628,23 @@ static const char * const cmd_receive_usage[] = {
|
||||||
"After receiving a subvolume, it is immediately set to",
|
"After receiving a subvolume, it is immediately set to",
|
||||||
"read-only.",
|
"read-only.",
|
||||||
"",
|
"",
|
||||||
"-q|--quiet suppress all messages, except errors",
|
OPTLINE("-q|--quiet", "suppress all messages, except errors"),
|
||||||
"-f FILE read the stream from FILE instead of stdin",
|
OPTLINE("-f FILE", "read the stream from FILE instead of stdin"),
|
||||||
"-e terminate after receiving an <end cmd> marker in the stream.",
|
OPTLINE("-e", "terminate after receiving an <end cmd> marker in the stream. "
|
||||||
" Without this option the receiver side terminates only in case",
|
"Without this option the receiver side terminates only in case "
|
||||||
" of an error on end of file.",
|
"of an error on end of file."),
|
||||||
"-C|--chroot confine the process to <mount> using chroot",
|
OPTLINE("-C|--chroot", "confine the process to <mount> using chroot"),
|
||||||
"-E|--max-errors NERR",
|
OPTLINE("-E|--max-errors NERR", "terminate as soon as NERR errors occur while "
|
||||||
" terminate as soon as NERR errors occur while",
|
"stream processing commands from the stream. "
|
||||||
" stream processing commands from the stream.",
|
"Default value is 1. A value of 0 means no limit."),
|
||||||
" Default value is 1. A value of 0 means no limit.",
|
OPTLINE("-m ROOTMOUNT", "the root mount point of the destination filesystem. "
|
||||||
"-m ROOTMOUNT the root mount point of the destination filesystem.",
|
"If /proc is not accessible, use this to tell us where "
|
||||||
" If /proc is not accessible, use this to tell us where",
|
"this file system is mounted."),
|
||||||
" this file system is mounted.",
|
OPTLINE("--force-decompress", "if the stream contains compressed data, always "
|
||||||
"--force-decompress",
|
"decompress it instead of writing it with encoded I/O"),
|
||||||
" if the stream contains compressed data, always",
|
OPTLINE("--dump", "dump stream metadata, one line per operation, "
|
||||||
" decompress it instead of writing it with encoded I/O",
|
"does not require the MOUNT parameter"),
|
||||||
"--dump dump stream metadata, one line per operation,",
|
OPTLINE("-v", "deprecated, alias for global -v option"),
|
||||||
" does not require the MOUNT parameter",
|
|
||||||
"-v deprecated, alias for global -v option",
|
|
||||||
HELPINFO_INSERT_GLOBALS,
|
HELPINFO_INSERT_GLOBALS,
|
||||||
HELPINFO_INSERT_VERBOSE,
|
HELPINFO_INSERT_VERBOSE,
|
||||||
HELPINFO_INSERT_QUIET,
|
HELPINFO_INSERT_QUIET,
|
||||||
|
|
Loading…
Reference in New Issue