diff options
author | David Teigland <teigland@redhat.com> | 2017-02-23 14:24:28 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-02-23 14:24:28 -0600 |
commit | 3fd3c9430d5f0b3291c0111ddcd4ddd524dd26ed (patch) | |
tree | 62beebbe8a6741e2560429f5de3eb00867fa272b /tools/vals.h | |
parent | 8ab072507706fb826eee05eb369429ad0a7a406a (diff) | |
download | lvm2-3fd3c9430d5f0b3291c0111ddcd4ddd524dd26ed.tar.gz |
man/help: change syntax to UNIT
(Change to recent commit 3f4ecaf8c2.)
Use --foo Number[k|UNIT] to indicate that
the default units of the number is k, but other
units listed below are also accepted.
Previously, underlined/italic Unit was used,
like other of variables, but this UNIT is more
like a shortcut than an actual variable.
Diffstat (limited to 'tools/vals.h')
-rw-r--r-- | tools/vals.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/vals.h b/tools/vals.h index 3eb27e977..a94f81bbc 100644 --- a/tools/vals.h +++ b/tools/vals.h @@ -85,8 +85,8 @@ * output, and doesn't indicate which unit is the default. * "Number[Units]" would be cleaner, as would a subset of * common units, e.g. "Number[kmg...]", but neither helps - * with default. "Number[k|Unit]" and "Number[m|Unit]" show - * the default, and "Unit" indicates that other units + * with default. "Number[k|UNIT]" and "Number[m|UNIT]" show + * the default, and "UNIT" indicates that other units * are possible without listing them all. This also * suggests using the preferred lower case letters, because * --size and other option args treat upper/lower letters @@ -115,9 +115,9 @@ val(activation_VAL, activation_arg, "Active", "y|n|ay") val(cachemode_VAL, cachemode_arg, "CacheMode", "writethrough|writeback") val(discards_VAL, discards_arg, "Discards", "passdown|nopassdown|ignore") val(mirrorlog_VAL, mirrorlog_arg, "MirrorLog", "core|disk") -val(sizekb_VAL, size_kb_arg, "SizeKB", "Number[k|Unit]") -val(sizemb_VAL, size_mb_arg, "SizeMB", "Number[m|Unit]") -val(regionsize_VAL, regionsize_arg, "RegionSize", "Number[m|Unit]") +val(sizekb_VAL, size_kb_arg, "SizeKB", "Number[k|UNIT]") +val(sizemb_VAL, size_mb_arg, "SizeMB", "Number[m|UNIT]") +val(regionsize_VAL, regionsize_arg, "RegionSize", "Number[m|UNIT]") val(numsigned_VAL, int_arg_with_sign, "SNumber", "[+|-]Number") val(numsignedper_VAL, int_arg_with_sign_and_percent, "SNumberP", "[+|-]Number[%VG|%PVS|%FREE]") val(permission_VAL, permission_arg, "Permission", "rw|r") |