]> sourceware.org Git - lvm2.git/commitdiff
tools: correct units description
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 16 Apr 2021 19:29:10 +0000 (21:29 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 19 Apr 2021 12:40:14 +0000 (14:40 +0200)
Option --units takes also [Number] to express size in configurable
units.

tools/vals.h

index 098dc9e4e899be6b53446c2d5490a179498e98f6..addbea2f255841eaf106a036ed5c1dd54183b818 100644 (file)
@@ -127,7 +127,7 @@ val(pextents_VAL, pextents_arg, "PExtents", "[+]Number[PERCENT]")
 val(nextents_VAL, nextents_arg, "NExtents", "[-]Number[PERCENT]")
 val(permission_VAL, permission_arg, "Permission", "rw|r")
 val(metadatatype_VAL, metadatatype_arg, "MetadataType", "lvm2")
-val(units_VAL, string_arg, "Units", "r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E")
+val(units_VAL, string_arg, "Units", "[Number]r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E")
 val(segtype_VAL, segtype_arg, "SegType", "linear|striped|snapshot|raid|mirror|thin|thin-pool|vdo|vdo-pool|cache|cache-pool|writecache")
 val(alloc_VAL, alloc_arg, "Alloc", "contiguous|cling|cling_by_tags|normal|anywhere|inherit")
 val(locktype_VAL, locktype_arg, "LockType", "sanlock|dlm|none")
This page took 0.038935 seconds and 5 git commands to generate.