URL: https://github.com/freeipa/freeipa/pull/4539
Author: flo-renaud
 Title: #4539: Man pages: fix syntax issues
Action: opened

PR body:
"""
Fix the syntax in ipa-cacert-manage.1 and default.conf.5

Fixes: https://pagure.io/freeipa/issue/8273
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4539/head:pr4539
git checkout pr4539
From 3b5e0535d33af4766e99197c5862652bb9084d97 Mon Sep 17 00:00:00 2001
From: Florence Blanc-Renaud <f...@redhat.com>
Date: Thu, 16 Apr 2020 11:36:05 +0200
Subject: [PATCH] Man pages: fix syntax issues

Fix the syntax in ipa-cacert-manage.1 and default.conf.5

Fixes: https://pagure.io/freeipa/issue/8273
---
 client/man/default.conf.5             | 4 ++--
 install/tools/man/ipa-cacert-manage.1 | 3 ---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/client/man/default.conf.5 b/client/man/default.conf.5
index 728fc08717..cf4f4a8f6e 100644
--- a/client/man/default.conf.5
+++ b/client/man/default.conf.5
@@ -47,14 +47,14 @@ Valid lines consist of an option name, an equals sign and a value. Spaces surrou
 
 Values should not be quoted, the quotes will not be stripped.
 
-.DS L
+.RS L
     # Wrong \- don't include quotes
     verbose = "True"
 
     # Right \- Properly formatted options
     verbose = True
     verbose=True
-.DE
+.RE
 
 Options must appear in the section named [global]. There are no other sections defined or used currently.
 
diff --git a/install/tools/man/ipa-cacert-manage.1 b/install/tools/man/ipa-cacert-manage.1
index b76ee18163..3f8c3464be 100644
--- a/install/tools/man/ipa-cacert-manage.1
+++ b/install/tools/man/ipa-cacert-manage.1
@@ -91,7 +91,6 @@ Output only errors.
 .TP
 \fB\-\-log\-file\fR=\fIFILE\fR
 Log to the given file.
-.RE
 .SH "RENEW OPTIONS"
 .TP
 \fB\-\-self\-signed\fR
@@ -124,7 +123,6 @@ If no template is specified, the template name "SubCA" is used.
 .TP
 \fB\-\-external\-cert\-file\fR=\fIFILE\fR
 File containing the IPA CA certificate and the external CA certificate chain. The file is accepted in PEM and DER certificate and PKCS#7 certificate chain formats. This option may be used multiple times.
-.RE
 .SH "INSTALL OPTIONS"
 .TP
 \fB\-n\fR \fINICKNAME\fR, \fB\-\-nickname\fR=\fINICKNAME\fR
@@ -146,7 +144,6 @@ p \- not trusted
 .TP
 \fB\-f\fR, \fB\-\-force\fR
 Force a CA certificate to be removed even if chain validation fails.
-.RE
 .SH "EXIT STATUS"
 0 if the command was successful
 
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to