From 8a788735613fba44314b60efe5c196702ac7715f Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 20 Feb 2012 09:28:58 +0000
Subject: [PATCH] Simplify example as suggested by Danny Turner

---
 opendj-sdk/opendj3/src/main/docbkx-stylesheets/man/manpages.xsl      |    1 +
 opendj-sdk/opends/resource/man/man1/ldappasswordmodify.1             |    7 +++----
 opendj-sdk/opendj3/src/main/docbkx/shared/man-ldappasswordmodify.xml |    3 +--
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opendj3/src/main/docbkx-stylesheets/man/manpages.xsl b/opendj-sdk/opendj3/src/main/docbkx-stylesheets/man/manpages.xsl
index 997f6d9..497588d 100644
--- a/opendj-sdk/opendj3/src/main/docbkx-stylesheets/man/manpages.xsl
+++ b/opendj-sdk/opendj3/src/main/docbkx-stylesheets/man/manpages.xsl
@@ -27,4 +27,5 @@
  version="1.0">
  <xsl:import href="urn:docbkx:stylesheet" />
  <xsl:param name="man.authors.section.enabled" select="0" />
+ <xsl:param name="refentry.date.profile.enabled" select="1" />
 </xsl:stylesheet>
diff --git a/opendj-sdk/opendj3/src/main/docbkx/shared/man-ldappasswordmodify.xml b/opendj-sdk/opendj3/src/main/docbkx/shared/man-ldappasswordmodify.xml
index 21e94b8..2adac5a 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/shared/man-ldappasswordmodify.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/shared/man-ldappasswordmodify.xml
@@ -312,8 +312,7 @@
 bribery
 secret12
 $ ldappasswordmodify -p 1389 -C /tmp/currpwd.txt -N /tmp/newpwd.txt
- -a "dn:uid=kvaughan,ou=people,dc=example,dc=com"
- -D uid=kvaughan,ou=people,dc=example,dc=com -w bribery
+-A -D uid=kvaughan,ou=people,dc=example,dc=com -w bribery
 The LDAP password modify operation was successful</screen>
  </refsect1>
 </refentry>
diff --git a/opendj-sdk/opends/resource/man/man1/ldappasswordmodify.1 b/opendj-sdk/opends/resource/man/man1/ldappasswordmodify.1
index d310384..d0d77b7 100644
--- a/opendj-sdk/opends/resource/man/man1/ldappasswordmodify.1
+++ b/opendj-sdk/opends/resource/man/man1/ldappasswordmodify.1
@@ -2,12 +2,12 @@
 .\"     Title: ldappasswordmodify
 .\"    Author: 
 .\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\"      Date: February\ \&14,\ \&2012
+.\"      Date: 02/20/2012
 .\"    Manual: Tools Reference
 .\"    Source: OpenDJ 2.5.0
 .\"  Language: English
 .\"
-.TH "LDAPPASSWORDMODIFY" "1" "February\ \&14,\ \&2012" "OpenDJ 2\&.5\&.0" "Tools Reference"
+.TH "LDAPPASSWORDMODIFY" "1" "02/20/2012" "OpenDJ 2\&.5\&.0" "Tools Reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -258,8 +258,7 @@
 bribery
 secret12
 $ ldappasswordmodify \-p 1389 \-C /tmp/currpwd\&.txt \-N /tmp/newpwd\&.txt
- \-a "dn:uid=kvaughan,ou=people,dc=example,dc=com"
- \-D uid=kvaughan,ou=people,dc=example,dc=com \-w bribery
+\-A \-D uid=kvaughan,ou=people,dc=example,dc=com \-w bribery
 The LDAP password modify operation was successful
 .fi
 .if n \{\

--
Gitblit v1.10.0