Re: [PATCH v1 07/28] cyclictest.8: Remove left-over comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 4 Jul 2025, Ahmed S. Darwish wrote:

> Simplify the cyclictest manpage source by removing all obsolete comments.
> 
> Per commit 79ad2eca9abe ("COPYING file and cyclictest's man page added"),
> most of such comments are random leftovers from the original template the
> cyclictest's manpage was based on.  Namely:
> 
> (a) Remove emacs markers; modern emacsen do not need them.
> 
> (b) Remove the roff macros description table; they're all already
>     documented at man(7).
> 
> (c) Reference groff_man_style(7).  Per man(7): "man page authors and
>     maintainers who are not already experienced groff users should
>     consult groff_man_style(7)."
> 
> (d) Remove legacy, commented-out, earlier cyclictest descriptions.
> 
> (e) Remove a reference to info pages; cyclictest does not have any.
> 
> (f) Remove an obscure joke about the manpage being written by "The Rise
>     and Fall of a Fooish Bar."
> 
> With this, further documentation cleanups will be easily stacked on top.
> 
> Signed-off-by: Ahmed S. Darwish <darwi@xxxxxxxxxxxxx>
> ---
>  src/cyclictest/cyclictest.8 | 25 +------------------------
>  1 file changed, 1 insertion(+), 24 deletions(-)
> 
> diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8
> index 803c5fd..d4ce648 100644
> --- a/src/cyclictest/cyclictest.8
> +++ b/src/cyclictest/cyclictest.8
> @@ -1,18 +1,6 @@
>  .\" SPDX-License-Identifier: GPL-2.0-only
> -.\"                                      Hey, EMACS: -*- nroff -*-
> +.\" For a man pages tutorial, check groff_man_style(7)
>  .TH CYCLICTEST 8 "April 22, 2016"
> -.\" Please adjust this date whenever revising the manpage.
> -.\"
> -.\" Some roff macros, for reference:
> -.\" .nh        disable hyphenation
> -.\" .hy        enable hyphenation
> -.\" .ad l      left justify
> -.\" .ad b      justify to both left and right margins
> -.\" .nf        disable filling
> -.\" .fi        enable filling
> -.\" .br        insert line break
> -.\" .sp <n>    insert n+1 empty lines
> -.\" for manpage-specific macros, see man(7)
>  .SH NAME
>  cyclictest \- High resolution test program
>  .SH SYNOPSIS
> @@ -21,18 +9,11 @@ cyclictest \- High resolution test program
>  [\-h " histogram " ] [\-i " intv " ] [\-\-json " filename " ] [\-l " loop " ] [\-o " red " ] \
>  [\-p " prio " ] [\-t " num " ] [\-D " time " ]"
>  
> -.\" .SH DESCRIPTION
> -.\" This manual page documents briefly the
> -.\" .B cyclictest commands.
> -.\" .PP
> -.\" \fI<whatever>\fP escape sequences to invode bold face and italics, respectively.
> -.\" \fBcyclictest\fP is a program that...
>  .SH OPTIONS
>  These programs follow the usual GNU command line syntax, with long
>  options starting with two dashes ('\-\-').
>  .br
>  A summary of options is included below.
> -.\" For a complete description, see the Info files.
>  .TP
>  .B \-a, \-\-affinity[=PROC-SET]
>  Run threads on the set of processors given by PROC-SET.  If PROC-SET is not
> @@ -184,10 +165,6 @@ Use POSIX timers instead of clock_nanosleep.
>  .SH SEE ALSO
>  .BR numa (3),
>  .BR numactl (8),
> -.\" .br
> -.\" The programs are documented fully by
> -.\" .IR "The Rise and Fall of a Fooish Bar" ,
> -.\" available via the Info system.
>  .SH AUTHOR
>  cyclictest was written by Thomas Gleixner <tglx@xxxxxxxxxxxxxx>.
>  .PP
> -- 
> 2.49.0
> 
> 
> 
Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>





[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux