1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

man: move the full UNIT description

Part of the UNIT description was still living in the
--size description.  Move it to the Size[UNIT] description
since it is used by other options, not just --size.
This commit is contained in:
David Teigland 2017-03-03 16:10:40 -06:00
parent b6c4b7cfb0
commit 11589891d7
2 changed files with 3 additions and 12 deletions

View File

@ -1062,12 +1062,6 @@ arg(size_ARG, 'L', "size", ssizemb_VAL, 0, 0,
"The --size and --extents options are alternate methods of specifying size.\n" "The --size and --extents options are alternate methods of specifying size.\n"
"The total number of physical extents used will be\n" "The total number of physical extents used will be\n"
"greater when redundant data is needed for RAID levels.\n" "greater when redundant data is needed for RAID levels.\n"
"A suffix can be chosen from: \\fBbBsSkKmMgGtTpPeE\\fP.\n"
"All units are base two values, regardless of letter capitalization:\n"
"b|B is bytes, s|S is sectors of 512 bytes,\n"
"k|K is kilobytes, m|M is megabytes,\n"
"g|G is gigabytes, t|T is terabytes,\n"
"p|P is petabytes, e|E is exabytes.\n"
"#lvreduce\n" "#lvreduce\n"
"#lvextend\n" "#lvextend\n"
"#lvresize\n" "#lvresize\n"
@ -1075,12 +1069,6 @@ arg(size_ARG, 'L', "size", ssizemb_VAL, 0, 0,
"The --size and --extents options are alternate methods of specifying size.\n" "The --size and --extents options are alternate methods of specifying size.\n"
"The total number of physical extents used will be\n" "The total number of physical extents used will be\n"
"greater when redundant data is needed for RAID levels.\n" "greater when redundant data is needed for RAID levels.\n"
"A suffix can be chosen from: \\fBbBsSkKmMgGtTpPeE\\fP.\n"
"All units are base two values, regardless of letter capitalization:\n"
"b|B is bytes, s|S is sectors of 512 bytes,\n"
"k|K is kilobytes, m|M is megabytes,\n"
"g|G is gigabytes, t|T is terabytes,\n"
"p|P is petabytes, e|E is exabytes.\n"
"The plus prefix \\fB+\\fP can be used, in which case\n" "The plus prefix \\fB+\\fP can be used, in which case\n"
"the value is added to the current size,\n" "the value is added to the current size,\n"
"or the minus prefix \\fB-\\fP can be used, in which case\n" "or the minus prefix \\fB-\\fP can be used, in which case\n"

View File

@ -3093,6 +3093,9 @@ void print_man_all_positions_desc(struct command_name *cname)
"capitalization, e.g. 'k' and 'K' both refer to 1024.\n" "capitalization, e.g. 'k' and 'K' both refer to 1024.\n"
"The default input unit is specified by letter, followed by |UNIT.\n" "The default input unit is specified by letter, followed by |UNIT.\n"
"UNIT represents other possible input units: \\fBbBsSkKmMgGtTpPeE\\fP.\n" "UNIT represents other possible input units: \\fBbBsSkKmMgGtTpPeE\\fP.\n"
"b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,\n"
"m|M is megabytes, g|G is gigabytes, t|T is terabytes,\n"
"p|P is petabytes, e|E is exabytes.\n"
"(This should not be confused with the output control --units, where\n" "(This should not be confused with the output control --units, where\n"
"capital letters mean multiple of 1000.)\n"); "capital letters mean multiple of 1000.)\n");