Commit 0f05db69 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Konstantin Khlebnikov

ioping, ioping.1: -h is an exclusive option

So describe it as such.
Signed-off-by: default avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent e983afc7
......@@ -3,7 +3,7 @@
ioping \- simple disk I/O latency monitoring tool
.SH SYNOPSYS
.SY ioping
.OP \-LCDRhq
.OP \-LCDRq
.OP \-c count
.OP \-w deadline
.OP \-p period
......@@ -13,6 +13,9 @@ ioping \- simple disk I/O latency monitoring tool
.OP \-o offset
.IR device | file | directory
.YS
.SY ioping
.B -h
.YS
.SH DESCRIPTION
This tool lets you monitor I/O latency in real time.
.SH OPTIONS
......@@ -50,11 +53,11 @@ Use direct I/O.
.B \-R
Disk seek rate test, implies \fB-q -i 0 -w 3\fR flags.
.TP
.B \-h
Display help message and exit.
.TP
.B \-q
Suppress human-readable output.
.TP
.B \-h
Display help message and exit.
.SS Argument suffixes
For options that expect time argument (\fB\-i\fR and \fB\-w\fR),
default is seconds, unless you specify one of the following suffixes
......
......@@ -82,8 +82,9 @@ int posix_memalign(void **memptr, size_t alignment, size_t size)
void usage(void)
{
fprintf(stderr,
" Usage: ioping [-LCDRhq] [-c count] [-w deadline] [-p period] [-i interval]\n"
" Usage: ioping [-LCDRq] [-c count] [-w deadline] [-p period] [-i interval]\n"
" [-s size] [-S wsize] [-o offset] device|file|directory\n"
" ioping -h\n"
"\n"
" -c <count> stop after <count> requests\n"
" -w <deadline> stop after <deadline>\n"
......@@ -96,8 +97,8 @@ void usage(void)
" -C use cached-io\n"
" -D use direct-io\n"
" -R rate-test, implies: -q -i 0 -w 3\n"
" -h display this message and exit\n"
" -q suppress human-readable output\n"
" -h display this message and exit\n"
"\n"
);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment