mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
commands: move tabs to eol
Make the source code a bit easier to read.
This commit is contained in:
parent
5aff63c07b
commit
868bd3b51e
@ -2107,59 +2107,59 @@ void print_usage_common_cmd(const struct command_name *cname, struct command *cm
|
|||||||
void print_usage_notes(const struct command_name *cname)
|
void print_usage_notes(const struct command_name *cname)
|
||||||
{
|
{
|
||||||
if (cname && command_has_alternate_extents(cname->name))
|
if (cname && command_has_alternate_extents(cname->name))
|
||||||
printf(" Special options for command:\n"
|
printf(" Special options for command:\n\t"
|
||||||
"\t[ --extents Number[PERCENT] ]\n"
|
"[ --extents Number[PERCENT] ]\n\t"
|
||||||
"\tThe --extents option can be used in place of --size.\n"
|
"The --extents option can be used in place of --size.\n\t"
|
||||||
"\tThe number allows an optional percent suffix.\n"
|
"The number allows an optional percent suffix.\n"
|
||||||
"\n");
|
"\n\t");
|
||||||
|
|
||||||
if (cname && !strcmp(cname->name, "lvcreate"))
|
if (cname && !strcmp(cname->name, "lvcreate"))
|
||||||
printf("\t[ --name String ]\n"
|
printf("[ --name String ]\n\t"
|
||||||
"\tThe --name option is not required but is typically used.\n"
|
"The --name option is not required but is typically used.\n\t"
|
||||||
"\tWhen a name is not specified, a new LV name is generated\n"
|
"When a name is not specified, a new LV name is generated\n\t"
|
||||||
"\twith the \"lvol\" prefix and a unique numeric suffix.\n"
|
"with the \"lvol\" prefix and a unique numeric suffix.\n"
|
||||||
"\n");
|
"\n");
|
||||||
|
|
||||||
printf(" Common variables for lvm:\n"
|
printf(" Common variables for lvm:\n\t"
|
||||||
"\tVariables in option or position args are capitalized,\n"
|
"Variables in option or position args are capitalized,\n\t"
|
||||||
"\te.g. PV, VG, LV, Size, Number, String, Tag.\n"
|
"e.g. PV, VG, LV, Size, Number, String, Tag.\n"
|
||||||
"\n"
|
"\n\t"
|
||||||
|
|
||||||
"\tPV\n"
|
"PV\n\t"
|
||||||
"\tPhysical Volume name, a device path under /dev.\n"
|
"Physical Volume name, a device path under /dev.\n\t"
|
||||||
"\tFor commands managing physical extents, a PV positional arg\n"
|
"For commands managing physical extents, a PV positional arg\n\t"
|
||||||
"\tgenerally accepts a suffix indicating a range (or multiple ranges)\n"
|
"generally accepts a suffix indicating a range (or multiple ranges)\n\t"
|
||||||
"\tof PEs. When the first PE is omitted, it defaults to the start of\n"
|
"of PEs. When the first PE is omitted, it defaults to the start of\n\t"
|
||||||
"\tthe device, and when the last PE is omitted it defaults to the end.\n"
|
"the device, and when the last PE is omitted it defaults to the end.\n\t"
|
||||||
"\tPV[:PE-PE]... is start and end range (inclusive),\n"
|
"PV[:PE-PE]... is start and end range (inclusive),\n\t"
|
||||||
"\tPV[:PE+PE]... is start and length range (counting from 0).\n"
|
"PV[:PE+PE]... is start and length range (counting from 0).\n"
|
||||||
"\n"
|
"\n\t"
|
||||||
|
|
||||||
"\tLV\n"
|
"LV\n\t"
|
||||||
"\tLogical Volume name. See lvm(8) for valid names. An LV positional\n"
|
"Logical Volume name. See lvm(8) for valid names. An LV positional\n\t"
|
||||||
"\targ generally includes the VG name and LV name, e.g. VG/LV.\n"
|
"arg generally includes the VG name and LV name, e.g. VG/LV.\n\t"
|
||||||
"\tLV followed by _<type> indicates that an LV of the given type is\n"
|
"LV followed by _<type> indicates that an LV of the given type is\n\t"
|
||||||
"\trequired. (raid represents raid<N> type).\n"
|
"required. (raid represents raid<N> type).\n\t"
|
||||||
"\tThe _new suffix indicates that the LV name is new.\n"
|
"The _new suffix indicates that the LV name is new.\n"
|
||||||
"\n"
|
"\n\t"
|
||||||
|
|
||||||
"\tTag\n"
|
"Tag\n\t"
|
||||||
"\tTag name. See lvm(8) for information about tag names and using\n"
|
"Tag name. See lvm(8) for information about tag names and using\n\t"
|
||||||
"\ttags in place of a VG, LV or PV.\n"
|
"tags in place of a VG, LV or PV.\n"
|
||||||
"\n"
|
"\n\t"
|
||||||
|
|
||||||
"\tSelect\n"
|
"Select\n\t"
|
||||||
"\tSelect indicates that a required positional arg can be omitted\n"
|
"Select indicates that a required positional arg can be omitted\n\t"
|
||||||
"\tif the --select option is used. No arg appears in this position.\n"
|
"if the --select option is used. No arg appears in this position.\n"
|
||||||
"\n"
|
"\n\t"
|
||||||
|
|
||||||
"\tSize[UNIT]\n"
|
"Size[UNIT]\n\t"
|
||||||
"\tSize is an input number that accepts an optional unit.\n"
|
"Size is an input number that accepts an optional unit.\n\t"
|
||||||
"\tInput units are always treated as base two values, regardless of\n"
|
"Input units are always treated as base two values, regardless of\n\t"
|
||||||
"\tcapitalization, e.g. 'k' and 'K' both refer to 1024.\n"
|
"capitalization, e.g. 'k' and 'K' both refer to 1024.\n\t"
|
||||||
"\tThe default input unit is specified by letter, followed by |UNIT.\n"
|
"The default input unit is specified by letter, followed by |UNIT.\n\t"
|
||||||
"\tUNIT represents other possible input units: BbBsSkKmMgGtTpPeE.\n"
|
"UNIT represents other possible input units: BbBsSkKmMgGtTpPeE.\n\t"
|
||||||
"\t(This should not be confused with the output control --units, where\n"
|
"(This should not be confused with the output control --units, where\n\t"
|
||||||
"\tcapital letters mean multiple of 1000.)\n"
|
"capital letters mean multiple of 1000.)\n"
|
||||||
"\n");
|
"\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user