diff mbox

[6/6] sepolicy: remove stray space in section "SEE ALSO"

Message ID 20170805163750.1920-6-nicolas.iooss@m4x.org (mailing list archive)
State Not Applicable
Headers show

Commit Message

Nicolas Iooss Aug. 5, 2017, 4:37 p.m. UTC
The space after "sepolicy(8)" breaks the formatting of section SEE ALSO
in man pages generated with sepolicy:

  SEE ALSO
    selinux(8), ssh(8), semanage(8), restorecon(8), chcon(1), sepolicy(8)  ,  setsebool(8),

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 python/sepolicy/sepolicy/manpage.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Stephen Smalley Aug. 7, 2017, 2:45 p.m. UTC | #1
On Sat, 2017-08-05 at 18:37 +0200, Nicolas Iooss wrote:
> The space after "sepolicy(8)" breaks the formatting of section SEE
> ALSO
> in man pages generated with sepolicy:
> 
>   SEE ALSO
>     selinux(8), ssh(8), semanage(8), restorecon(8), chcon(1),
> sepolicy(8)  ,  setsebool(8),
> 
> Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>

Thanks, applied all six patches.

> ---
>  python/sepolicy/sepolicy/manpage.py | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/python/sepolicy/sepolicy/manpage.py
> b/python/sepolicy/sepolicy/manpage.py
> index 35b3722dbe45..ed8cb71cd6d4 100755
> --- a/python/sepolicy/sepolicy/manpage.py
> +++ b/python/sepolicy/sepolicy/manpage.py
> @@ -922,8 +922,7 @@ This manual page was auto-generated using
>  .B "sepolicy manpage".
>  
>  .SH "SEE ALSO"
> -selinux(8), %s(8), semanage(8), restorecon(8), chcon(1), sepolicy(8)
> -""" % (self.domainname))
> +selinux(8), %s(8), semanage(8), restorecon(8), chcon(1),
> sepolicy(8)""" % (self.domainname))
>  
>          if self.booltext != "":
>              self.fd.write(", setsebool(8)")
diff mbox

Patch

diff --git a/python/sepolicy/sepolicy/manpage.py b/python/sepolicy/sepolicy/manpage.py
index 35b3722dbe45..ed8cb71cd6d4 100755
--- a/python/sepolicy/sepolicy/manpage.py
+++ b/python/sepolicy/sepolicy/manpage.py
@@ -922,8 +922,7 @@  This manual page was auto-generated using
 .B "sepolicy manpage".
 
 .SH "SEE ALSO"
-selinux(8), %s(8), semanage(8), restorecon(8), chcon(1), sepolicy(8)
-""" % (self.domainname))
+selinux(8), %s(8), semanage(8), restorecon(8), chcon(1), sepolicy(8)""" % (self.domainname))
 
         if self.booltext != "":
             self.fd.write(", setsebool(8)")