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",
|
||||
"read-only.",
|
||||
"",
|
||||
"-q|--quiet suppress all messages, except errors",
|
||||
"-f FILE read the stream from FILE instead of stdin",
|
||||
"-e terminate after receiving an <end cmd> marker in the stream.",
|
||||
" Without this option the receiver side terminates only in case",
|
||||
" of an error on end of file.",
|
||||
"-C|--chroot confine the process to <mount> using chroot",
|
||||
"-E|--max-errors NERR",
|
||||
" terminate as soon as NERR errors occur while",
|
||||
" stream processing commands from the stream.",
|
||||
" Default value is 1. A value of 0 means no limit.",
|
||||
"-m ROOTMOUNT the root mount point of the destination filesystem.",
|
||||
" If /proc is not accessible, use this to tell us where",
|
||||
" this file system is mounted.",
|
||||
"--force-decompress",
|
||||
" if the stream contains compressed data, always",
|
||||
" decompress it instead of writing it with encoded I/O",
|
||||
"--dump dump stream metadata, one line per operation,",
|
||||
" does not require the MOUNT parameter",
|
||||
"-v deprecated, alias for global -v option",
|
||||
OPTLINE("-q|--quiet", "suppress all messages, except errors"),
|
||||
OPTLINE("-f FILE", "read the stream from FILE instead of stdin"),
|
||||
OPTLINE("-e", "terminate after receiving an <end cmd> marker in the stream. "
|
||||
"Without this option the receiver side terminates only in case "
|
||||
"of an error on end of file."),
|
||||
OPTLINE("-C|--chroot", "confine the process to <mount> using chroot"),
|
||||
OPTLINE("-E|--max-errors NERR", "terminate as soon as NERR errors occur while "
|
||||
"stream processing commands from the stream. "
|
||||
"Default value is 1. A value of 0 means no limit."),
|
||||
OPTLINE("-m ROOTMOUNT", "the root mount point of the destination filesystem. "
|
||||
"If /proc is not accessible, use this to tell us where "
|
||||
"this file system is mounted."),
|
||||
OPTLINE("--force-decompress", "if the stream contains compressed data, always "
|
||||
"decompress it instead of writing it with encoded I/O"),
|
||||
OPTLINE("--dump", "dump stream metadata, one line per operation, "
|
||||
"does not require the MOUNT parameter"),
|
||||
OPTLINE("-v", "deprecated, alias for global -v option"),
|
||||
HELPINFO_INSERT_GLOBALS,
|
||||
HELPINFO_INSERT_VERBOSE,
|
||||
HELPINFO_INSERT_QUIET,
|
||||
|
|
Loading…
Reference in New Issue