ehlo,

I noticed weird indentation of example for allow_missing_name.
It's longer that 80 columns which is not usual for man pages
and default terminal size (25x80).

LS
>From cd0e6f1257834674c992217d7b8c8a2833822bad Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <[email protected]>
Date: Fri, 1 Jul 2016 08:56:43 +0200
Subject: [PATCH] MAN: Remove leading spaces from elements programlisting

Docbook documentatin for the programlisting elemnt says:

Description:
A ProgramListing is a verbatim environment for program source
or source fragment listings. ProgramListings are often placed
in Examples or Figures so that they can be cross-referenced
from the text.

Processing Expectations:
Formatted as a displayed block. This element is displayed
"verbatim"; whitespace and linebreaks within this element
are significant. ProgramListings are usually displayed
in a fixed width font.
---
 src/man/idmap_sss.8.xml | 11 +++++------
 src/man/pam_sss.8.xml   |  2 +-
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/man/idmap_sss.8.xml b/src/man/idmap_sss.8.xml
index 
5ba4e212e23337e7958cce6a010764cddddeacf6..4c26a17f958fbf7251ad64de916db9de02c48364
 100644
--- a/src/man/idmap_sss.8.xml
+++ b/src/man/idmap_sss.8.xml
@@ -47,13 +47,12 @@
         </para>
 
         <programlisting format="linespecific">
-        [global]
-        security = domain
-        workgroup = MAIN
-
-        idmap config * : backend        = sss
-        idmap config * : range          = 200000-2147483647
+[global]
+security = domain
+workgroup = MAIN
 
+idmap config * : backend        = sss
+idmap config * : range          = 200000-2147483647
         </programlisting>
     </refsect1>
 
diff --git a/src/man/pam_sss.8.xml b/src/man/pam_sss.8.xml
index 
b03ac2dc8616aabf27810b76e9156c2da2192310..dd395a06a3a49227591d2be9a91d2cf95787b78f
 100644
--- a/src/man/pam_sss.8.xml
+++ b/src/man/pam_sss.8.xml
@@ -176,7 +176,7 @@
                         Smartcard is inserted the login manager will call a PAM
                         stack which includes a line like
                         <programlisting>
-                            auth sufficient pam_sss.so allow_missing_name
+auth sufficient pam_sss.so allow_missing_name
                         </programlisting>
                         In this case SSSD will try to determine the user name
                         based on the content of the Smartcard, returns it to
-- 
2.7.4

_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to