From 792ff3770d392e8c17563cd76420722194ee718d Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Tue, 13 Oct 2015 08:32:47 +0000
Subject: [PATCH] OPENDJ-2336 Fix punctuation for generated man page descriptions

---
 opendj-cli/src/main/resources/templates/refSect2.ftl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-cli/src/main/resources/templates/refSect2.ftl b/opendj-cli/src/main/resources/templates/refSect2.ftl
index 059aa49..69c0ebb 100644
--- a/opendj-cli/src/main/resources/templates/refSect2.ftl
+++ b/opendj-cli/src/main/resources/templates/refSect2.ftl
@@ -28,7 +28,7 @@
   <title>${name}</title>
 
   <para>
-   ${description}
+   ${description?ensure_ends_with(".")}
   </para>
 
   <#if info??>${info}</#if>
@@ -48,7 +48,7 @@
             <term><option>${option.synopsis?xml}</option></term>
             <listitem>
              <para>
-               ${option.description}
+               ${option.description?ensure_ends_with(".")}
              </para>
 
              <#if option.info??>

--
Gitblit v1.10.0