diff --git a/tools/command.c b/tools/command.c index cba650b13..f880508d7 100644 --- a/tools/command.c +++ b/tools/command.c @@ -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) { if (cname && command_has_alternate_extents(cname->name)) - printf(" Special options for command:\n" - "\t[ --extents Number[PERCENT] ]\n" - "\tThe --extents option can be used in place of --size.\n" - "\tThe number allows an optional percent suffix.\n" - "\n"); + printf(" Special options for command:\n\t" + "[ --extents Number[PERCENT] ]\n\t" + "The --extents option can be used in place of --size.\n\t" + "The number allows an optional percent suffix.\n" + "\n\t"); if (cname && !strcmp(cname->name, "lvcreate")) - printf("\t[ --name String ]\n" - "\tThe --name option is not required but is typically used.\n" - "\tWhen a name is not specified, a new LV name is generated\n" - "\twith the \"lvol\" prefix and a unique numeric suffix.\n" + printf("[ --name String ]\n\t" + "The --name option is not required but is typically used.\n\t" + "When a name is not specified, a new LV name is generated\n\t" + "with the \"lvol\" prefix and a unique numeric suffix.\n" "\n"); - printf(" Common variables for lvm:\n" - "\tVariables in option or position args are capitalized,\n" - "\te.g. PV, VG, LV, Size, Number, String, Tag.\n" - "\n" + printf(" Common variables for lvm:\n\t" + "Variables in option or position args are capitalized,\n\t" + "e.g. PV, VG, LV, Size, Number, String, Tag.\n" + "\n\t" - "\tPV\n" - "\tPhysical Volume name, a device path under /dev.\n" - "\tFor commands managing physical extents, a PV positional arg\n" - "\tgenerally accepts a suffix indicating a range (or multiple ranges)\n" - "\tof PEs. When the first PE is omitted, it defaults to the start of\n" - "\tthe device, and when the last PE is omitted it defaults to the end.\n" - "\tPV[:PE-PE]... is start and end range (inclusive),\n" - "\tPV[:PE+PE]... is start and length range (counting from 0).\n" - "\n" + "PV\n\t" + "Physical Volume name, a device path under /dev.\n\t" + "For commands managing physical extents, a PV positional arg\n\t" + "generally accepts a suffix indicating a range (or multiple ranges)\n\t" + "of PEs. When the first PE is omitted, it defaults to the start of\n\t" + "the device, and when the last PE is omitted it defaults to the end.\n\t" + "PV[:PE-PE]... is start and end range (inclusive),\n\t" + "PV[:PE+PE]... is start and length range (counting from 0).\n" + "\n\t" - "\tLV\n" - "\tLogical Volume name. See lvm(8) for valid names. An LV positional\n" - "\targ generally includes the VG name and LV name, e.g. VG/LV.\n" - "\tLV followed by _ indicates that an LV of the given type is\n" - "\trequired. (raid represents raid type).\n" - "\tThe _new suffix indicates that the LV name is new.\n" - "\n" + "LV\n\t" + "Logical Volume name. See lvm(8) for valid names. An LV positional\n\t" + "arg generally includes the VG name and LV name, e.g. VG/LV.\n\t" + "LV followed by _ indicates that an LV of the given type is\n\t" + "required. (raid represents raid type).\n\t" + "The _new suffix indicates that the LV name is new.\n" + "\n\t" - "\tTag\n" - "\tTag name. See lvm(8) for information about tag names and using\n" - "\ttags in place of a VG, LV or PV.\n" - "\n" + "Tag\n\t" + "Tag name. See lvm(8) for information about tag names and using\n\t" + "tags in place of a VG, LV or PV.\n" + "\n\t" - "\tSelect\n" - "\tSelect indicates that a required positional arg can be omitted\n" - "\tif the --select option is used. No arg appears in this position.\n" - "\n" + "Select\n\t" + "Select indicates that a required positional arg can be omitted\n\t" + "if the --select option is used. No arg appears in this position.\n" + "\n\t" - "\tSize[UNIT]\n" - "\tSize is an input number that accepts an optional unit.\n" - "\tInput units are always treated as base two values, regardless of\n" - "\tcapitalization, e.g. 'k' and 'K' both refer to 1024.\n" - "\tThe default input unit is specified by letter, followed by |UNIT.\n" - "\tUNIT represents other possible input units: BbBsSkKmMgGtTpPeE.\n" - "\t(This should not be confused with the output control --units, where\n" - "\tcapital letters mean multiple of 1000.)\n" + "Size[UNIT]\n\t" + "Size is an input number that accepts an optional unit.\n\t" + "Input units are always treated as base two values, regardless of\n\t" + "capitalization, e.g. 'k' and 'K' both refer to 1024.\n\t" + "The default input unit is specified by letter, followed by |UNIT.\n\t" + "UNIT represents other possible input units: BbBsSkKmMgGtTpPeE.\n\t" + "(This should not be confused with the output control --units, where\n\t" + "capital letters mean multiple of 1000.)\n" "\n"); }