|
|
dc8c34 |
From 5ab76899968135525ac36c182918554788330961 Mon Sep 17 00:00:00 2001
|
|
|
dc8c34 |
From: Mark Reynolds <mreynolds@redhat.com>
|
|
|
dc8c34 |
Date: Mon, 19 Dec 2016 10:30:40 -0500
|
|
|
dc8c34 |
Subject: [PATCH 418/425] Ticket 49070 - ldif2db.pl/db2ldif.pl/db2index.pl
|
|
|
dc8c34 |
displays the wrong usage
|
|
|
dc8c34 |
|
|
|
dc8c34 |
Bug Description: The usage displays "-n instance", but this is misleading as
|
|
|
dc8c34 |
it's supposed to be the backend name.
|
|
|
dc8c34 |
|
|
|
dc8c34 |
Fix Description: Change the usage to use "backend".
|
|
|
dc8c34 |
|
|
|
dc8c34 |
https://fedorahosted.org/389/ticket/49070
|
|
|
dc8c34 |
|
|
|
dc8c34 |
Reviewed by: nhosoi(Thanks!)
|
|
|
dc8c34 |
|
|
|
dc8c34 |
(cherry picked from commit 7211e65825ae59c79ad5c7cf2d00c18314e900fd)
|
|
|
dc8c34 |
---
|
|
|
dc8c34 |
ldap/admin/src/scripts/template-db2index.pl.in | 4 ++--
|
|
|
dc8c34 |
ldap/admin/src/scripts/template-db2ldif.pl.in | 4 ++--
|
|
|
dc8c34 |
ldap/admin/src/scripts/template-ldif2db.pl.in | 4 ++--
|
|
|
dc8c34 |
3 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
dc8c34 |
|
|
|
dc8c34 |
diff --git a/ldap/admin/src/scripts/template-db2index.pl.in b/ldap/admin/src/scripts/template-db2index.pl.in
|
|
|
dc8c34 |
index 2423d36..741726e 100644
|
|
|
dc8c34 |
--- a/ldap/admin/src/scripts/template-db2index.pl.in
|
|
|
dc8c34 |
+++ b/ldap/admin/src/scripts/template-db2index.pl.in
|
|
|
dc8c34 |
@@ -44,12 +44,12 @@ use DSUtil qw(shellEscape);
|
|
|
dc8c34 |
|
|
|
dc8c34 |
sub usage {
|
|
|
dc8c34 |
print(STDERR "Usage: $0 [-v] -D rootdn { -w password | -w - | -j filename } \n");
|
|
|
dc8c34 |
- print(STDERR " -n instance [-t attributeName[:indextypes[:matchingrules]]]\n");
|
|
|
dc8c34 |
+ print(STDERR " -n backend [-t attributeName[:indextypes[:matchingrules]]]\n");
|
|
|
dc8c34 |
print(STDERR " Opts: -D rootdn - Directory Manager\n");
|
|
|
dc8c34 |
print(STDERR " : -w password - Directory Manager's password\n");
|
|
|
dc8c34 |
print(STDERR " : -w - - Prompt for Directory Manager's password\n");
|
|
|
dc8c34 |
print(STDERR " : -j filename - Read Directory Manager's password from file\n");
|
|
|
dc8c34 |
- print(STDERR " : -n instance - instance to be indexed\n");
|
|
|
dc8c34 |
+ print(STDERR " : -n backend - Backend database name to be indexed\n");
|
|
|
dc8c34 |
print(STDERR " : -t attributeName[:indextypes[:matchingrules]]\n");
|
|
|
dc8c34 |
print(STDERR " - attributeName: name of the attribute to be indexed\n");
|
|
|
dc8c34 |
print(STDERR " If omitted, all the indexes defined \n");
|
|
|
dc8c34 |
diff --git a/ldap/admin/src/scripts/template-db2ldif.pl.in b/ldap/admin/src/scripts/template-db2ldif.pl.in
|
|
|
dc8c34 |
index d1b1f39..ee9a07f 100644
|
|
|
dc8c34 |
--- a/ldap/admin/src/scripts/template-db2ldif.pl.in
|
|
|
dc8c34 |
+++ b/ldap/admin/src/scripts/template-db2ldif.pl.in
|
|
|
dc8c34 |
@@ -44,13 +44,13 @@ use DSUtil qw(shellEscape);
|
|
|
dc8c34 |
|
|
|
dc8c34 |
sub usage {
|
|
|
dc8c34 |
print(STDERR "Usage: $0 [-v] -D rootdn { -w password | -w - | -j filename } \n");
|
|
|
dc8c34 |
- print(STDERR " {-n instance}* | {-s include}* [{-x exclude}*] \n");
|
|
|
dc8c34 |
+ print(STDERR " {-n backend}* | {-s include}* [{-x exclude}*] \n");
|
|
|
dc8c34 |
print(STDERR " [-m] [-M] [-u] [-C] [-N] [-U] [-a filename]\n");
|
|
|
dc8c34 |
print(STDERR " Opts: -D rootdn - Directory Manager\n");
|
|
|
dc8c34 |
print(STDERR " : -w password - Directory Manager's password\n");
|
|
|
dc8c34 |
print(STDERR " : -w - - Prompt for Directory Manager's password\n");
|
|
|
dc8c34 |
print(STDERR " : -j filename - Read Directory Manager's password from file\n");
|
|
|
dc8c34 |
- print(STDERR " : -n instance - instance to be exported\n");
|
|
|
dc8c34 |
+ print(STDERR " : -n backend - Backend database name to be exported\n");
|
|
|
dc8c34 |
print(STDERR " : -a filename - output ldif file\n");
|
|
|
dc8c34 |
print(STDERR " : -s include - included suffix(es)\n");
|
|
|
dc8c34 |
print(STDERR " : -x exclude - excluded suffix(es)\n");
|
|
|
dc8c34 |
diff --git a/ldap/admin/src/scripts/template-ldif2db.pl.in b/ldap/admin/src/scripts/template-ldif2db.pl.in
|
|
|
dc8c34 |
index 5fff029..0338acf 100644
|
|
|
dc8c34 |
--- a/ldap/admin/src/scripts/template-ldif2db.pl.in
|
|
|
dc8c34 |
+++ b/ldap/admin/src/scripts/template-ldif2db.pl.in
|
|
|
dc8c34 |
@@ -44,13 +44,13 @@ use DSUtil qw(shellEscape);
|
|
|
dc8c34 |
|
|
|
dc8c34 |
sub usage {
|
|
|
dc8c34 |
print(STDERR "Usage: $0 [-v] -D rootdn { -w password | -w - | -j filename } \n");
|
|
|
dc8c34 |
- print(STDERR " -n instance | {-s include}* [{-x exclude}*] [-O] [-c]\n");
|
|
|
dc8c34 |
+ print(STDERR " -n backend | {-s include}* [{-x exclude}*] [-O] [-c]\n");
|
|
|
dc8c34 |
print(STDERR " [-g [string]] [-G namespace_id] {-i filename}*\n");
|
|
|
dc8c34 |
print(STDERR " Opts: -D rootdn - Directory Manager\n");
|
|
|
dc8c34 |
print(STDERR " : -w password - Directory Manager's password\n");
|
|
|
dc8c34 |
print(STDERR " : -w - - Prompt for Directory Manager's password\n");
|
|
|
dc8c34 |
print(STDERR " : -j filename - Read Directory Manager's password from file\n");
|
|
|
dc8c34 |
- print(STDERR " : -n instance - instance to be imported to\n");
|
|
|
dc8c34 |
+ print(STDERR " : -n backend - Backend database name to be imported to\n");
|
|
|
dc8c34 |
print(STDERR " : -i filename - input ldif file(s)\n");
|
|
|
dc8c34 |
print(STDERR " : -s include - included suffix\n");
|
|
|
dc8c34 |
print(STDERR " : -x exclude - excluded suffix(es)\n");
|
|
|
dc8c34 |
--
|
|
|
dc8c34 |
2.9.3
|
|
|
dc8c34 |
|