]> sourceware.org Git - lvm2.git/commitdiff
man: move the full UNIT description
authorDavid Teigland <teigland@redhat.com>
Fri, 3 Mar 2017 22:10:40 +0000 (16:10 -0600)
committerDavid Teigland <teigland@redhat.com>
Fri, 3 Mar 2017 22:12:02 +0000 (16:12 -0600)
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.

tools/args.h
tools/command.c

index 448f6aa10a79357c4942ca2fd744eb9b630d4d2f..7c44256533a1b12b934188202bce4b0ad6184d60 100644 (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 total number of physical extents used will be\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"
     "#lvextend\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 total number of physical extents used will be\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 value is added to the current size,\n"
     "or the minus prefix \\fB-\\fP can be used, in which case\n"
index 70f9beecdf2cd3f813bcc9041074f6b2b0dd1e77..5fc5ff3feac3e94a6e2bd4cea8f3450c68f99d89 100644 (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"
               "The default input unit is specified by letter, followed by |UNIT.\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"
               "capital letters mean multiple of 1000.)\n");
 
This page took 0.04587 seconds and 5 git commands to generate.