From bc87539e94dbc3e8005261f4563b045bef2372eb 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.
---
opendj-sdk/opendj3/src/main/docbkx/shared/man-modrate.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opendj3/src/main/docbkx/shared/man-modrate.xml b/opendj-sdk/opendj3/src/main/docbkx/shared/man-modrate.xml
index 70324f1..8defd99 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/shared/man-modrate.xml
+++ b/opendj-sdk/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)
--
Gitblit v1.10.0