linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rt-tests: Add missing option F to optstring
@ 2021-09-13 19:29 lleshchi
  2021-09-14 15:37 ` John Kacur
  0 siblings, 1 reply; 2+ messages in thread
From: lleshchi @ 2021-09-13 19:29 UTC (permalink / raw)
  To: jkacur; +Cc: williams, linux-rt-users

From: Leah Leshchinsky <lleshchi@redhat.com>

The cyclictest help output lists -F as the short version of the
--fifo option, yet calling cyclictest -F produces an error"
cyclictest: invalid option --'F'".
This patch adds -F as a valid argument.

Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
---
 src/cyclictest/cyclictest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index a08c91d..f8f7dbc 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -1011,7 +1011,7 @@ static void process_options(int argc, char *argv[], int max_cpus)
 			{"posix_timers",     no_argument,	NULL, OPT_POSIX_TIMERS },
 			{NULL, 0, NULL, 0 },
 		};
-		int c = getopt_long(argc, argv, "a::A::b:c:d:D:h:H:i:l:MNo:p:mqrRsSt::uvD:x",
+		int c = getopt_long(argc, argv, "a::A::b:c:d:D:F:h:H:i:l:MNo:p:mqrRsSt::uvD:x",
 				    long_options, &option_index);
 		if (c == -1)
 			break;
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rt-tests: Add missing option F to optstring
  2021-09-13 19:29 [PATCH] rt-tests: Add missing option F to optstring lleshchi
@ 2021-09-14 15:37 ` John Kacur
  0 siblings, 0 replies; 2+ messages in thread
From: John Kacur @ 2021-09-14 15:37 UTC (permalink / raw)
  To: lleshchi; +Cc: williams, linux-rt-users



On Mon, 13 Sep 2021, lleshchi@redhat.com wrote:

> From: Leah Leshchinsky <lleshchi@redhat.com>
> 
> The cyclictest help output lists -F as the short version of the
> --fifo option, yet calling cyclictest -F produces an error"
> cyclictest: invalid option --'F'".
> This patch adds -F as a valid argument.
> 
> Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
> ---
>  src/cyclictest/cyclictest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
> index a08c91d..f8f7dbc 100644
> --- a/src/cyclictest/cyclictest.c
> +++ b/src/cyclictest/cyclictest.c
> @@ -1011,7 +1011,7 @@ static void process_options(int argc, char *argv[], int max_cpus)
>  			{"posix_timers",     no_argument,	NULL, OPT_POSIX_TIMERS },
>  			{NULL, 0, NULL, 0 },
>  		};
> -		int c = getopt_long(argc, argv, "a::A::b:c:d:D:h:H:i:l:MNo:p:mqrRsSt::uvD:x",
> +		int c = getopt_long(argc, argv, "a::A::b:c:d:D:F:h:H:i:l:MNo:p:mqrRsSt::uvD:x",
>  				    long_options, &option_index);
>  		if (c == -1)
>  			break;
> -- 
> 2.27.0
> 
> 

Thanks
Signed-off-by: John Kacur <jkacur@redhat.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-14 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 19:29 [PATCH] rt-tests: Add missing option F to optstring lleshchi
2021-09-14 15:37 ` John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).