From d27ea2b4a3df9ceec5a54a24f160614b1c66014a Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Fri, 27 Jan 2012 06:31:26 +0000
Subject: [PATCH] Doc --rebuildDegraded for OPENDJ-406: Add support for rebuilding all degraded indexes to rebuild-index tool

---
 opends/resource/man/man1/rebuild-index.1             |   21 +++++++++++++++++----
 opendj3/src/main/docbkx/shared/man-rebuild-index.xml |   12 ++++++++++--
 2 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/opendj3/src/main/docbkx/shared/man-rebuild-index.xml b/opendj3/src/main/docbkx/shared/man-rebuild-index.xml
index b6ea25d..1b2892f 100644
--- a/opendj3/src/main/docbkx/shared/man-rebuild-index.xml
+++ b/opendj3/src/main/docbkx/shared/man-rebuild-index.xml
@@ -68,7 +68,7 @@
      <para>Names of index(es) to rebuild. For an attribute index this is
      simply an attribute name. At least one index must be specified for
      rebuild. Cannot be used with the <option>--rebuildAll</option>
-     option.</para>
+     or <option>--rebuildDegraded</option> options.</para>
     </listitem>
    </varlistentry>
    <varlistentry>
@@ -76,7 +76,15 @@
     <listitem>
      <para>Rebuild all indexes, including any DN2ID, DN2URI, VLV and
      extensible indexes. Cannot be used with the <option>--index</option>
-     option.</para>
+     or <option>--rebuildDegraded</option> options.</para>
+    </listitem>
+   </varlistentry>
+   <varlistentry>
+    <term><option>--rebuildDegraded</option></term>
+    <listitem>
+     <para>Rebuild all degraded indexes, including any DN2ID, DN2URI, VLV and
+     extensible indexes. Cannot be used with the <option>--index</option>
+     or <option>--rebuildAll</option> options.</para>
     </listitem>
    </varlistentry>
    <varlistentry>
diff --git a/opends/resource/man/man1/rebuild-index.1 b/opends/resource/man/man1/rebuild-index.1
index 70093bf..5cbfeae 100644
--- a/opends/resource/man/man1/rebuild-index.1
+++ b/opends/resource/man/man1/rebuild-index.1
@@ -2,12 +2,12 @@
 .\"     Title: rebuild-index
 .\"    Author: 
 .\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\"      Date: January\ \&03,\ \&2012
+.\"      Date: January\ \&27,\ \&2012
 .\"    Manual: Tools Reference
 .\"    Source: OpenDJ 2.5.0
 .\"  Language: English
 .\"
-.TH "REBUILD\-INDEX" "1" "January\ \&03,\ \&2012" "OpenDJ 2\&.5\&.0" "Tools Reference"
+.TH "REBUILD\-INDEX" "1" "January\ \&27,\ \&2012" "OpenDJ 2\&.5\&.0" "Tools Reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -48,14 +48,27 @@
 .RS 4
 Names of index(es) to rebuild\&. For an attribute index this is simply an attribute name\&. At least one index must be specified for rebuild\&. Cannot be used with the
 \fB\-\-rebuildAll\fR
-option\&.
+or
+\fB\-\-rebuildDegraded\fR
+options\&.
 .RE
 .PP
 \fB\-\-rebuildAll\fR
 .RS 4
 Rebuild all indexes, including any DN2ID, DN2URI, VLV and extensible indexes\&. Cannot be used with the
 \fB\-\-index\fR
-option\&.
+or
+\fB\-\-rebuildDegraded\fR
+options\&.
+.RE
+.PP
+\fB\-\-rebuildDegraded\fR
+.RS 4
+Rebuild all degraded indexes, including any DN2ID, DN2URI, VLV and extensible indexes\&. Cannot be used with the
+\fB\-\-index\fR
+or
+\fB\-\-rebuildAll\fR
+options\&.
 .RE
 .PP
 \fB\-\-tmpdirectory {directory}\fR

--
Gitblit v1.10.0