diff mbox series

[rt-tests,v1,20/23] signaltest: Add --json to man page

Message ID 20210519170945.21941-21-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/signaltest/signaltest.8 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

John Kacur May 22, 2021, 3:48 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/signaltest/signaltest.8 | 5 ++++-

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

> 

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

> index 5ce119b54461..da818ecdef67 100644

> --- a/src/signaltest/signaltest.8

> +++ b/src/signaltest/signaltest.8

> @@ -5,7 +5,7 @@

>  signaltest \- signal roundtrip test software

>  .SH SYNOPSIS

>  .LP

> -signaltest [ -a|--affinity NUM] [ -b|--backtrace USEC ] [-D|--duration TIME] [-h|--help] [-l|--loops LOOPS ] [-p|--prio PRIO] [-q|--quiet] [-S|--smp] [-t|--threads NUM] [-m|--mlockall ] [-v|--verbose ]

> +signaltest [ -a|--affinity NUM] [ -b|--backtrace USEC ] [-D|--duration TIME] [-h|--help] [--json FILENAME] [-l|--loops LOOPS ] [-p|--prio PRIO] [-q|--quiet] [-S|--smp] [-t|--threads NUM] [-m|--mlockall ] [-v|--verbose ]

>  .SH OPTIONS

>  These programs follow the usual GNU command line syntax, with long options

>  starting with two dashes ('\-\-').

> @@ -35,6 +35,9 @@ Append 'm', 'h', or 'd' to specify minutes, hours or days.

>  .br

>  display usage information

>  .TP

> +.B \-\-json=FILENAME

> +Write final results into FILENAME, JSON formatted.

> +.TP

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

>  Number of loops: default=0 (endless)

>  .TP

> -- 

> 2.31.1

> 

> 

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

Patch

diff --git a/src/signaltest/signaltest.8 b/src/signaltest/signaltest.8
index 5ce119b54461..da818ecdef67 100644
--- a/src/signaltest/signaltest.8
+++ b/src/signaltest/signaltest.8
@@ -5,7 +5,7 @@ 
 signaltest \- signal roundtrip test software
 .SH SYNOPSIS
 .LP
-signaltest [ -a|--affinity NUM] [ -b|--backtrace USEC ] [-D|--duration TIME] [-h|--help] [-l|--loops LOOPS ] [-p|--prio PRIO] [-q|--quiet] [-S|--smp] [-t|--threads NUM] [-m|--mlockall ] [-v|--verbose ]
+signaltest [ -a|--affinity NUM] [ -b|--backtrace USEC ] [-D|--duration TIME] [-h|--help] [--json FILENAME] [-l|--loops LOOPS ] [-p|--prio PRIO] [-q|--quiet] [-S|--smp] [-t|--threads NUM] [-m|--mlockall ] [-v|--verbose ]
 .SH OPTIONS
 These programs follow the usual GNU command line syntax, with long options
 starting with two dashes ('\-\-').
@@ -35,6 +35,9 @@  Append 'm', 'h', or 'd' to specify minutes, hours or days.
 .br
 display usage information
 .TP
+.B \-\-json=FILENAME
+Write final results into FILENAME, JSON formatted.
+.TP
 .B \-l, \-\-loops=LOOPS
 Number of loops: default=0 (endless)
 .TP