diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-09-02 21:43:03 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-09-02 23:01:14 +0100 |
commit | 59a6fc0e4c3ef72a9a1598987d57df56a1161346 (patch) | |
tree | c052d433d8176364f9df0bc52d7ed00d7e2b6e73 | |
parent | f64da7c628fb7053179c9a4840a05904d4509d68 (diff) | |
download | lvm2-dev-bmr-dmstats-precise.tar.gz |
dmstats: allow -c<count>dev-bmr-dmstats-precise
When dmsetup is run using the dmstats alias allow the short option
-c to be used to specify a count. This causes a change of behaviour
if dmsetup is called without spaces between options:
# dmsetup info -cvvv
Now will not produce verbose output since the 'vvv' is considered
to be an optional argument to -c: preserving the former behaviour
would require allowing alternative optstrings for different
dmsetup command types.
-rw-r--r-- | man/dmstats.8.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man/dmstats.8.in b/man/dmstats.8.in index 3ffd534e2..fa2ae8128 100644 --- a/man/dmstats.8.in +++ b/man/dmstats.8.in @@ -1,4 +1,4 @@ -eTH DMSTATS 8 "Jul 25 2015" "Linux" "MAINTENANCE COMMANDS" +.TH DMSTATS 8 "Jul 25 2015" "Linux" "MAINTENANCE COMMANDS" .SH NAME dmstats \(em device-mapper statistics management .SH SYNOPSIS @@ -62,7 +62,7 @@ dmstats \(em device-mapper statistics management .RI [ device_name ] .RB [ \-\-interval .IR seconds ] -.RB [ \-\-count +.RB [ -c | \-\-count .IR count ] .RB [ \-\-units .IR units ] @@ -105,7 +105,7 @@ dmstats \(em device-mapper statistics management .RI [ device_name ] .RB [ \-\-interval .IR seconds ] -.RB [ \-\-count +.RB [ \-c | \-\-count .IR count ] .RB [ \-\-units .IR units ] @@ -174,7 +174,7 @@ Specify auxilliary data (a string) to be stored with a new region. .B \-\-clear When printing statistics counters, also atomically reset them to zero. .TP -.B \-\-count \fIcount +.B \-c | \-\-count \fIcount Specify the iteration count for repeating reports. If the count argument is zero reports will continue to repeat until interrupted. .TP @@ -367,7 +367,7 @@ the list of report fields. .RB [ \-\-allprograms ] .RB [ \-\-interval .IR seconds ] -.RB [ \-\-count +.RB [ \-c | \-\-count .IR count ] .RB [ \-\-units .IR unit ] @@ -428,7 +428,7 @@ present regions. .RB [ \-\-allprograms ] .RB [ \-\-interval .IR seconds ] -.RB [ \-\-count +.RB [ \-c | \-\-count .IR count ] .RB [ \-\-units .IR unit ] |