diff mbox series

[rt-tests,v1,21/23] sigwaittest: Add --json to man page

Message ID 20210519170945.21941-22-dwagner@suse.de
State New
Headers show
Series Rename --output to --json | expand

Commit Message

Daniel Wagner May 19, 2021, 5:09 p.m. UTC
Add the newly introduced --json command line to the man page.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
---
 src/sigwaittest/sigwaittest.8 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

John Kacur May 22, 2021, 3:49 a.m. UTC | #1
On Wed, 19 May 2021, Daniel Wagner wrote:

> Add the newly introduced --json command line to the man page.

> 

> Signed-off-by: Daniel Wagner <dwagner@suse.de>

> ---

>  src/sigwaittest/sigwaittest.8 | 5 ++++-

>  1 file changed, 4 insertions(+), 1 deletion(-)

> 

> diff --git a/src/sigwaittest/sigwaittest.8 b/src/sigwaittest/sigwaittest.8

> index a2dc1bc080a3..26ad333e2841 100644

> --- a/src/sigwaittest/sigwaittest.8

> +++ b/src/sigwaittest/sigwaittest.8

> @@ -4,7 +4,7 @@

>  \fBsigwaittest\fR \- Start two threads or fork two processes and measure the latency between sending and receiving a signal

>  .SH "SYNTAX"

>  .LP

> -sigwaittest [-a|--affinity PROC] [-b|--breaktrace USEC] [-d|--distance DIST] [-D|--duration TIME] [-f|--fork [OPT]] [-i|--interval INTV] [-l|--loops LOOPS] [-p|--prio PRIO] [-t|--threads [NUM]]

> +sigwaittest [-a|--affinity PROC] [-b|--breaktrace USEC] [-d|--distance DIST] [-D|--duration TIME] [-f|--fork [OPT]] [-i|--interval INTV] [--json FILENAME] [-l|--loops LOOPS] [-p|--prio PRIO] [-t|--threads [NUM]]

>  .br

>  .SH "DESCRIPTION"

>  .LP

> @@ -32,6 +32,9 @@ Instead of creating threads (which is the default), fork new processes

>  .B \-i, \-\-interval=INTV

>  Set the base interval of the thread(s) in microseconds (default is 1000 us). This sets the interval of the first thread. See also -d.

>  .TP

> +.B \-\-json=FILENAME

> +Write final results into FILENAME, JSON formatted.

> +.TP

>  .B \-l, \-\-loops=LOOPS

>  Set the number of loops. The default is 0 (endless). This option is useful for automated tests with a given number of test cycles. sigwaittest is stopped once the number of timer intervals has been reached.

>  .TP

> -- 

> 2.31.1

> 

> 

Signed-off-by: John Kacur <jkacur@redhat.com>
diff mbox series

Patch

diff --git a/src/sigwaittest/sigwaittest.8 b/src/sigwaittest/sigwaittest.8
index a2dc1bc080a3..26ad333e2841 100644
--- a/src/sigwaittest/sigwaittest.8
+++ b/src/sigwaittest/sigwaittest.8
@@ -4,7 +4,7 @@ 
 \fBsigwaittest\fR \- Start two threads or fork two processes and measure the latency between sending and receiving a signal
 .SH "SYNTAX"
 .LP
-sigwaittest [-a|--affinity PROC] [-b|--breaktrace USEC] [-d|--distance DIST] [-D|--duration TIME] [-f|--fork [OPT]] [-i|--interval INTV] [-l|--loops LOOPS] [-p|--prio PRIO] [-t|--threads [NUM]]
+sigwaittest [-a|--affinity PROC] [-b|--breaktrace USEC] [-d|--distance DIST] [-D|--duration TIME] [-f|--fork [OPT]] [-i|--interval INTV] [--json FILENAME] [-l|--loops LOOPS] [-p|--prio PRIO] [-t|--threads [NUM]]
 .br
 .SH "DESCRIPTION"
 .LP
@@ -32,6 +32,9 @@  Instead of creating threads (which is the default), fork new processes
 .B \-i, \-\-interval=INTV
 Set the base interval of the thread(s) in microseconds (default is 1000 us). This sets the interval of the first thread. See also -d.
 .TP
+.B \-\-json=FILENAME
+Write final results into FILENAME, JSON formatted.
+.TP
 .B \-l, \-\-loops=LOOPS
 Set the number of loops. The default is 0 (endless). This option is useful for automated tests with a given number of test cycles. sigwaittest is stopped once the number of timer intervals has been reached.
 .TP