public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rt-tests: cyclictest: Fix -A long name in manpage
@ 2026-02-26 13:18 Tomas Glozar
  2026-02-26 19:43 ` John Kacur
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Glozar @ 2026-02-26 13:18 UTC (permalink / raw)
  To: John Kacur; +Cc: linux-rt-users, Tomas Glozar

The cyclictest manpage gives the long name for -A option as --align,
however, the proper name in both help message and getopt_long() is
--aligned.

Use the correct name in the manpage.

Signed-off-by: Tomas Glozar <tglozar@redhat.com>
---
 src/cyclictest/cyclictest.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8
index 6becd19..ff2cb96 100644
--- a/src/cyclictest/cyclictest.8
+++ b/src/cyclictest/cyclictest.8
@@ -17,7 +17,7 @@
 cyclictest \- High resolution test program
 .SH SYNOPSIS
 .SY cyclictest
-.RI "[ \-hfmnqrsvMS ] [\-a " proc " ] [\-A " align " ] [\-b " usec " ] [\-c " clock " ] [\-d " dist " ] \
+.RI "[ \-hfmnqrsvMS ] [\-a " proc " ] [\-A " aligned " ] [\-b " usec " ] [\-c " clock " ] [\-d " dist " ] \
 [\-h " histogram " ] [\-i " intv " ] [\-\-json " filename " ] [\-l " loop " ] [\-o " red " ] \
 [\-p " prio " ] [\-t " num " ] [\-D " time "] [\-w] [\-W] [\-y " policy " ] [ \-S | \-U ]"
 
@@ -47,7 +47,7 @@ field in /proc/cpuinfo.  See numa(3) for more information on specifying CPU sets
 * Support for CPU sets requires libnuma version >= 2.  For libnuma v1, PROC-SET,
 if specified, must be a single CPU number.
 .TP
-.B \-A, \-\-align=USEC
+.B \-A, \-\-aligned=USEC
 Align thread wakeups to a specific offset in microseconds
 .TP
 .B \-b, \-\-breaktrace=USEC
-- 
2.53.0


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

* Re: [PATCH] rt-tests: cyclictest: Fix -A long name in manpage
  2026-02-26 13:18 [PATCH] rt-tests: cyclictest: Fix -A long name in manpage Tomas Glozar
@ 2026-02-26 19:43 ` John Kacur
  0 siblings, 0 replies; 2+ messages in thread
From: John Kacur @ 2026-02-26 19:43 UTC (permalink / raw)
  To: Tomas Glozar; +Cc: John Kacur, linux-rt-users



On Thu, 26 Feb 2026, Tomas Glozar wrote:

> The cyclictest manpage gives the long name for -A option as --align,
> however, the proper name in both help message and getopt_long() is
> --aligned.
> 
> Use the correct name in the manpage.
> 
> Signed-off-by: Tomas Glozar <tglozar@redhat.com>
> ---
>  src/cyclictest/cyclictest.8 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8
> index 6becd19..ff2cb96 100644
> --- a/src/cyclictest/cyclictest.8
> +++ b/src/cyclictest/cyclictest.8
> @@ -17,7 +17,7 @@
>  cyclictest \- High resolution test program
>  .SH SYNOPSIS
>  .SY cyclictest
> -.RI "[ \-hfmnqrsvMS ] [\-a " proc " ] [\-A " align " ] [\-b " usec " ] [\-c " clock " ] [\-d " dist " ] \
> +.RI "[ \-hfmnqrsvMS ] [\-a " proc " ] [\-A " aligned " ] [\-b " usec " ] [\-c " clock " ] [\-d " dist " ] \
>  [\-h " histogram " ] [\-i " intv " ] [\-\-json " filename " ] [\-l " loop " ] [\-o " red " ] \
>  [\-p " prio " ] [\-t " num " ] [\-D " time "] [\-w] [\-W] [\-y " policy " ] [ \-S | \-U ]"
>  
> @@ -47,7 +47,7 @@ field in /proc/cpuinfo.  See numa(3) for more information on specifying CPU sets
>  * Support for CPU sets requires libnuma version >= 2.  For libnuma v1, PROC-SET,
>  if specified, must be a single CPU number.
>  .TP
> -.B \-A, \-\-align=USEC
> +.B \-A, \-\-aligned=USEC
>  Align thread wakeups to a specific offset in microseconds
>  .TP
>  .B \-b, \-\-breaktrace=USEC
> -- 
> 2.53.0
> 
> 
> 
Signed-off-by: John Kacur <jkacur@redhat.com>

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

end of thread, other threads:[~2026-02-26 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-26 13:18 [PATCH] rt-tests: cyclictest: Fix -A long name in manpage Tomas Glozar
2026-02-26 19:43 ` John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox