public inbox for gfs2@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] gfs2_edit.8: Fix man page warning
@ 2025-02-26 20:29 Valentin Vidic
  2025-02-27 11:36 ` Andrew Price
  0 siblings, 1 reply; 3+ messages in thread
From: Valentin Vidic @ 2025-02-26 20:29 UTC (permalink / raw)
  To: gfs2; +Cc: Valentin Vidic

W: gfs2-utils: groff-message troff:<standard input>:124: warning: cannot
select font 's' [usr/share/man/man8/gfs2_edit.8.gz:1]
---
 gfs2/man/gfs2_edit.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gfs2/man/gfs2_edit.8 b/gfs2/man/gfs2_edit.8
index 1a5ccacc..1e9a11c2 100644
--- a/gfs2/man/gfs2_edit.8
+++ b/gfs2/man/gfs2_edit.8
@@ -121,7 +121,7 @@ for example, to artificially change the di_size field for an inode
 in order to test fsck.gfs2's ability to detect and fix the problem.
 
 .TP
-\fB-s\fs [\fIstructure\fR | \fIblock\fR]
+\fB-s\fP [\fIstructure\fR | \fIblock\fR]
 Specify a starting block for interactive mode.  Any of the well-known
 locations found in the -p option may be specified.  If you want to start
 on a particular resource group, specify it in quotes, e.g. -s "rg 3"
-- 
2.39.5


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

* Re: [PATCH] gfs2_edit.8: Fix man page warning
  2025-02-26 20:29 [PATCH] gfs2_edit.8: Fix man page warning Valentin Vidic
@ 2025-02-27 11:36 ` Andrew Price
  2025-02-27 18:45   ` Valentin Vidic
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Price @ 2025-02-27 11:36 UTC (permalink / raw)
  To: Valentin Vidic; +Cc: gfs2

On 26/02/2025 20:29, Valentin Vidic wrote:
> W: gfs2-utils: groff-message troff:<standard input>:124: warning: cannot
> select font 's' [usr/share/man/man8/gfs2_edit.8.gz:1]

Applied, thanks. Which checker provides these warnings? We might be able 
to add it to our CI tests.

Andy

> ---
>   gfs2/man/gfs2_edit.8 | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gfs2/man/gfs2_edit.8 b/gfs2/man/gfs2_edit.8
> index 1a5ccacc..1e9a11c2 100644
> --- a/gfs2/man/gfs2_edit.8
> +++ b/gfs2/man/gfs2_edit.8
> @@ -121,7 +121,7 @@ for example, to artificially change the di_size field for an inode
>   in order to test fsck.gfs2's ability to detect and fix the problem.
>   
>   .TP
> -\fB-s\fs [\fIstructure\fR | \fIblock\fR]
> +\fB-s\fP [\fIstructure\fR | \fIblock\fR]
>   Specify a starting block for interactive mode.  Any of the well-known
>   locations found in the -p option may be specified.  If you want to start
>   on a particular resource group, specify it in quotes, e.g. -s "rg 3"


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

* Re: [PATCH] gfs2_edit.8: Fix man page warning
  2025-02-27 11:36 ` Andrew Price
@ 2025-02-27 18:45   ` Valentin Vidic
  0 siblings, 0 replies; 3+ messages in thread
From: Valentin Vidic @ 2025-02-27 18:45 UTC (permalink / raw)
  To: Andrew Price; +Cc: gfs2

On Thu, Feb 27, 2025 at 11:36:42AM +0000, Andrew Price wrote:
> On 26/02/2025 20:29, Valentin Vidic wrote:
> > W: gfs2-utils: groff-message troff:<standard input>:124: warning: cannot
> > select font 's' [usr/share/man/man8/gfs2_edit.8.gz:1]
> 
> Applied, thanks. Which checker provides these warnings? We might be able to
> add it to our CI tests.

Lintian is the tool that checks the Debian package after it is built.
So one of the tests there is to check if man pages produce any warnings
like that one:

https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/Documentation/Manual.pm?ref_type=heads#L328

-- 
Valentin

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

end of thread, other threads:[~2025-02-27 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26 20:29 [PATCH] gfs2_edit.8: Fix man page warning Valentin Vidic
2025-02-27 11:36 ` Andrew Price
2025-02-27 18:45   ` Valentin Vidic

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