[tests/thin_dump] Update help string

This commit is contained in:
Joe Thornber 2021-10-19 15:24:16 +01:00
parent a568da8c71
commit 56ea130650

View File

@ -15,16 +15,29 @@ use common::thin::*;
//------------------------------------------ //------------------------------------------
const USAGE: &str = "Usage: thin_dump [options] {device|file}\n\ const USAGE: &str =
Options:\n \ "thin_dump 0.9.0
{-h|--help}\n \ Dump thin-provisioning metadata to stdout in XML format
{-f|--format} {xml|human_readable|custom}\n \
{-r|--repair}\n \ USAGE:
{-m|--metadata-snap} [block#]\n \ thin_dump [FLAGS] [OPTIONS] <INPUT>
{-o <xml file>}\n \
{--dev-id} <dev-id>\n \ FLAGS:
{--skip-mappings}\n \ -q, --quiet Suppress output messages, return only exit code.
{-V|--version}"; -r, --repair Repair the metadata whilst dumping it
--skip-mappings Do not dump the mappings
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--data-block-size <SECTORS> Provide the data block size for repairing
-m, --metadata-snapshot <METADATA_SNAPSHOT> Access the metadata snapshot on a live pool
--nr-data-blocks <NUM> Override the number of data blocks if needed
-o, --output <FILE> Specify the output file rather than stdout
--transaction-id <NUM> Override the transaction id if needed
ARGS:
<INPUT> Specify the input device to dump";
//----------------------------------------- //-----------------------------------------