Subject: Man page of loginctl is invalid troff.
From: Martin Castillo <[email-masked]>
To: [email-masked]
Date: Fri, 7 Apr 2023 14:08:34 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

man loginctl prints stuff like

   .SH "NAME" loginctl - Control the elogind login manager

   .SH "SYNOPSIS"

     .HP 216u

       loginctl
        [OPTIONS...]
        {COMMAND}
        [NAME...]

     .PP /lib/elogind/system-shutdown

Indeed zcat /run/current-system/profile/share/man/man1/loginctl.1.gz
shows
[...]
   .SH "NAME"
loginctl \- Control the elogind login manager

   .SH "SYNOPSIS"

     .HP \w'\fBloginctl\fR\ 'u

       \fBloginctl\fR
        [OPTIONS...]
        {COMMAND}
        [NAME...]

     .PP
/lib/elogind/system\-shutdown

[...]

i.e. .SH etc. are not at line beginnings and are not recognized by man.

I'm using elogind-246.10:
/gnu/store/7sq4qp09fl1pn72jw828ndm13nbpknhv-elogind-246.10/share/man/man1/loginctl.1.gz

Martin