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



Reply via email to