From d17fcb6c17d8ab0a557f86272b96f186d17b5d25 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 16 Aug 2011 16:13:42 +0000
Subject: [PATCH] Fix typos in usage information for xxxrate "randStr" data source which is actually "randstr". Also fix parameter index reference in modrate example.
---
opendj3/src/main/docbkx/shared/man-searchrate.xml | 2 +-
opendj3/src/main/docbkx/shared/man-authrate.xml | 2 +-
opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/DataSource.java | 2 +-
opendj3/src/main/docbkx/shared/man-modrate.xml | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/DataSource.java b/opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/DataSource.java
index 323ff16..659998f 100644
--- a/opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/DataSource.java
+++ b/opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/DataSource.java
@@ -307,7 +307,7 @@
public static LocalizableMessage getUsage()
{
return LocalizableMessage.raw(
- "\"randStr({length},<charSet>)\" Random string of specified " +
+ "\"randstr({length},<charSet>)\" Random string of specified " +
"length and optionally from characters in " +
"the charSet string. A range of character " +
"can be specified with [start-end] charSet notation. " +
diff --git a/opendj3/src/main/docbkx/shared/man-authrate.xml b/opendj3/src/main/docbkx/shared/man-authrate.xml
index eecaa3e..eeb697f 100644
--- a/opendj3/src/main/docbkx/shared/man-authrate.xml
+++ b/opendj3/src/main/docbkx/shared/man-authrate.xml
@@ -119,7 +119,7 @@
<listitem><para>Random number</para></listitem>
</varlistentry>
<varlistentry>
- <term>"randStr({length},<replaceable>charSet</replaceable>)"</term>
+ <term>"randstr({length},<replaceable>charSet</replaceable>)"</term>
<listitem><para>Random string of specified length and optionally from
characters in the charSet string. A range of character can be specified
with [start-end] charSet notation. If no charSet is specified,
diff --git a/opendj3/src/main/docbkx/shared/man-modrate.xml b/opendj3/src/main/docbkx/shared/man-modrate.xml
index 70324f1..8defd99 100644
--- a/opendj3/src/main/docbkx/shared/man-modrate.xml
+++ b/opendj3/src/main/docbkx/shared/man-modrate.xml
@@ -122,7 +122,7 @@
<listitem><para>Random number</para></listitem>
</varlistentry>
<varlistentry>
- <term>"randStr({length},<replaceable>charSet</replaceable>)"</term>
+ <term>"randstr({length},<replaceable>charSet</replaceable>)"</term>
<listitem><para>Random string of specified length and optionally from
characters in the charSet string. A range of character can be specified
with [start-end] charSet notation. If no charSet is specified,
@@ -350,7 +350,7 @@
<screen>$ grep ^uid: /path/to/Example.ldif | sed -e "s/uid: //" > names.txt
$ modrate -p 1389 -D cn=directory\ manager -w secret12
-b "uid=%s,ou=people,dc=example,dc=com" -g "rand(names.txt)"
- "description:%s" -g "randStr(16)" -A -F -c 4 -t 4
+ 'description:%2$s' -g "randstr(16)" -A -F -c 4 -t 4
-----------------------------------------------------------------
Throughput Response Time
(ops/second) (milliseconds)
diff --git a/opendj3/src/main/docbkx/shared/man-searchrate.xml b/opendj3/src/main/docbkx/shared/man-searchrate.xml
index 2ae2852..d78d8c7 100644
--- a/opendj3/src/main/docbkx/shared/man-searchrate.xml
+++ b/opendj3/src/main/docbkx/shared/man-searchrate.xml
@@ -126,7 +126,7 @@
<listitem><para>Random number</para></listitem>
</varlistentry>
<varlistentry>
- <term>"randStr({length},<replaceable>charSet</replaceable>)"</term>
+ <term>"randstr({length},<replaceable>charSet</replaceable>)"</term>
<listitem><para>Random string of specified length and optionally from
characters in the charSet string. A range of character can be specified
with [start-end] charSet notation. If no charSet is specified,
--
Gitblit v1.10.0