Skip to contentSkip to conversation

rt-tests: cyclictest: Fix -A long name in manpage

PATCH In review Tomas Glozar 2 participants 2 messages Feb 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rt-tests: cyclictest: Fix -A long name in manpage

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.

---
 src/cyclictest/cyclictest.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/cyclictest/cyclictest.8 +2 -2
index 6becd19..ff2cb96 100644
@@ -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
Signature · 1 line
2.53.0
#1 lore raw
Quoted 38 lines · 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.

---
 src/cyclictest/cyclictest.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/cyclictest/cyclictest.8 +2 -2
index 6becd19..ff2cb96 100644
@@ -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
Signature · 1 line
2.53.0