diff mbox series

[rt-tests,v3,03/33] signaltest: Add missing --output usage info

Message ID 20210320183829.1318-4-dwagner@suse.de
State New
Headers show
Series JSON cleanups and more tests updated | expand

Commit Message

Daniel Wagner March 20, 2021, 6:37 p.m. UTC
bdb20cdaa8d5 ("signaltest: Add JSON output feature") introduced the
new command line option but forgot to add it to the usage string.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
---
 src/signaltest/signaltest.c | 1 +
 1 file changed, 1 insertion(+)

Comments

John Kacur May 7, 2021, 4:26 p.m. UTC | #1
On Sat, 20 Mar 2021, Daniel Wagner wrote:

> bdb20cdaa8d5 ("signaltest: Add JSON output feature") introduced the

> new command line option but forgot to add it to the usage string.

> 

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

> ---

>  src/signaltest/signaltest.c | 1 +

>  1 file changed, 1 insertion(+)

> 

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

> index b1a7e1db8302..e2ffc0bb8693 100644

> --- a/src/signaltest/signaltest.c

> +++ b/src/signaltest/signaltest.c

> @@ -189,6 +189,7 @@ static void display_help(int error)

>  		"-h       --help            display usage information\n"

>  		"-l LOOPS --loops=LOOPS     number of loops: default=0(endless)\n"

>  		"-m       --mlockall        lock current and future memory allocations\n"

> +		"         --output=FILENAME write final results into FILENAME, JSON formatted\n"

>  		"-p PRIO  --prio=PRIO       priority of highest prio thread\n"

>  		"-q       --quiet           print a summary only on exit\n"

>  		"-t NUM   --threads=NUM     number of threads: default=2\n"

> -- 

> 2.30.2

> 

> 


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

Patch

diff --git a/src/signaltest/signaltest.c b/src/signaltest/signaltest.c
index b1a7e1db8302..e2ffc0bb8693 100644
--- a/src/signaltest/signaltest.c
+++ b/src/signaltest/signaltest.c
@@ -189,6 +189,7 @@  static void display_help(int error)
 		"-h       --help            display usage information\n"
 		"-l LOOPS --loops=LOOPS     number of loops: default=0(endless)\n"
 		"-m       --mlockall        lock current and future memory allocations\n"
+		"         --output=FILENAME write final results into FILENAME, JSON formatted\n"
 		"-p PRIO  --prio=PRIO       priority of highest prio thread\n"
 		"-q       --quiet           print a summary only on exit\n"
 		"-t NUM   --threads=NUM     number of threads: default=2\n"