Blob Blame History Raw
From c6736181488b971b554bedf575658de147e0e528 Mon Sep 17 00:00:00 2001
From: Florence Blanc-Renaud <flo@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
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
---
 client/man/default.conf.5             | 4 ++--
 install/tools/man/ipa-cacert-manage.1 | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/client/man/default.conf.5 b/client/man/default.conf.5
index f21d9d5b7a02e9c9858bb44cf3f2f4c16655901a..300f72a1b11b4568b837fd1033fcc3bf304b96b0 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 31df3d1973f4bf813e09b97561a3be654dd14a48..4f4a9804ad4a52fdb73b9be27597a8a50dfdcf95 100644
--- a/install/tools/man/ipa-cacert-manage.1
+++ b/install/tools/man/ipa-cacert-manage.1
@@ -79,7 +79,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
@@ -112,7 +111,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
-- 
2.25.4