diff mbox series

[rt-tests,v1,15/23] pi_stress: Add --json to man page

Message ID 20210519170945.21941-16-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/pi_tests/pi_stress.8 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

John Kacur May 22, 2021, 3:41 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/pi_tests/pi_stress.8 | 8 +++++++-

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

> 

> diff --git a/src/pi_tests/pi_stress.8 b/src/pi_tests/pi_stress.8

> index c3d7889a5cd5..8c43a1ccf676 100644

> --- a/src/pi_tests/pi_stress.8

> +++ b/src/pi_tests/pi_stress.8

> @@ -10,7 +10,7 @@

>  pi_stress \- a stress test for POSIX Priority Inheritance mutexes

>  .\"}}}

>  .\"{{{ Synopsis

> -.\" Usage:  pi_stress [-d] [-D TIME] [-g N] [-h] [-i N ] [-m] [-p] [-q] [-r] [-s OPTS] [-u] [-v] [-V]

> +.\" Usage:  pi_stress [-d] [-D TIME] [-g N] [-h] [-i N ] [--json FILENAME ] [-m] [-p] [-q] [-r] [-s OPTS] [-u] [-v] [-V]

>  .SH SYNOPSIS

>  .B pi_stress

>  .RB [ \-d|\-\-debug]

> @@ -20,6 +20,8 @@ pi_stress \- a stress test for POSIX Priority Inheritance mutexes

>  .IR N ]

>  .RB [ \-i|\-\-inversions

>  .IR INV ]

> +.RB [ \-\-json

> +.IR FILENAME ]

>  .RB [ \-m|\-\-mlockall ]

>  .RB [ \-p|\-\-prompt ]

>  .RB [ \-q|\-\-quiet ]

> @@ -58,6 +60,10 @@ Display a short help message and options.

>  .I N

>  number of inversion conditions. This is the total number of inversions

>  for all inversion groups. Default is \-1 for infinite.

> +.IP "\-\-json=FILENAME"

> +Write final results into

> +.I FILENAME

> +, JSON formatted.

>  .IP "\-m|\-\-mlockall"

>  Call mlockall to lock current and future memory allocations and

>  prevent being paged out

> -- 

> 2.31.1

> 

> 

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

Patch

diff --git a/src/pi_tests/pi_stress.8 b/src/pi_tests/pi_stress.8
index c3d7889a5cd5..8c43a1ccf676 100644
--- a/src/pi_tests/pi_stress.8
+++ b/src/pi_tests/pi_stress.8
@@ -10,7 +10,7 @@ 
 pi_stress \- a stress test for POSIX Priority Inheritance mutexes
 .\"}}}
 .\"{{{ Synopsis
-.\" Usage:  pi_stress [-d] [-D TIME] [-g N] [-h] [-i N ] [-m] [-p] [-q] [-r] [-s OPTS] [-u] [-v] [-V]
+.\" Usage:  pi_stress [-d] [-D TIME] [-g N] [-h] [-i N ] [--json FILENAME ] [-m] [-p] [-q] [-r] [-s OPTS] [-u] [-v] [-V]
 .SH SYNOPSIS
 .B pi_stress
 .RB [ \-d|\-\-debug]
@@ -20,6 +20,8 @@  pi_stress \- a stress test for POSIX Priority Inheritance mutexes
 .IR N ]
 .RB [ \-i|\-\-inversions
 .IR INV ]
+.RB [ \-\-json
+.IR FILENAME ]
 .RB [ \-m|\-\-mlockall ]
 .RB [ \-p|\-\-prompt ]
 .RB [ \-q|\-\-quiet ]
@@ -58,6 +60,10 @@  Display a short help message and options.
 .I N
 number of inversion conditions. This is the total number of inversions
 for all inversion groups. Default is \-1 for infinite.
+.IP "\-\-json=FILENAME"
+Write final results into
+.I FILENAME
+, JSON formatted.
 .IP "\-m|\-\-mlockall"
 Call mlockall to lock current and future memory allocations and
 prevent being paged out