From 363a3060912841a9bae177a3450e73bff7dcf42b Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Fri, 16 Dec 2016 16:13:20 -0500 Subject: [PATCH] Ticket 49070 - ldif2db.pl displays the wrong usage Bug Description: The usage displays "-n instance", but this is misleading as it's supposed to be the backend name. Fix Description: Change the usage to use "backend". https://fedorahosted.org/389/ticket/49070 Reviewed by: ? --- ldap/admin/src/scripts/template-ldif2db.pl.in | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ldap/admin/src/scripts/template-ldif2db.pl.in b/ldap/admin/src/scripts/template-ldif2db.pl.in index 5fff029..0649c4f 100644 --- a/ldap/admin/src/scripts/template-ldif2db.pl.in +++ b/ldap/admin/src/scripts/template-ldif2db.pl.in @@ -44,25 +44,25 @@ use DSUtil qw(shellEscape); sub usage { print(STDERR "Usage: $0 [-v] -D rootdn { -w password | -w - | -j filename } \n"); - print(STDERR " -n instance | {-s include}* [{-x exclude}*] [-O] [-c]\n"); + print(STDERR " -n backend | {-s include}* [{-x exclude}*] [-O] [-c]\n"); print(STDERR " [-g [string]] [-G namespace_id] {-i filename}*\n"); print(STDERR " Opts: -D rootdn - Directory Manager\n"); print(STDERR " : -w password - Directory Manager's password\n"); print(STDERR " : -w - - Prompt for Directory Manager's password\n"); print(STDERR " : -j filename - Read Directory Manager's password from file\n"); - print(STDERR " : -n instance - instance to be imported to\n"); - print(STDERR " : -i filename - input ldif file(s)\n"); - print(STDERR " : -s include - included suffix\n"); - print(STDERR " : -x exclude - excluded suffix(es)\n"); - print(STDERR " : -O - only create core db, no attr indexes\n"); - print(STDERR " : -c size - merge chunk size\n"); - print(STDERR " : -g [string] - string is \"none\" or \"deterministic\"\n"); - print(STDERR " : none - unique id is not generated\n"); - print(STDERR " : deterministic - generate name based unique id (-G name)\n"); - print(STDERR " : by default - generate time based unique id\n"); - print(STDERR " : -G name - namespace id for name based uniqueid (-g deterministic)\n"); + print(STDERR " : -n backend - Backend database name to be imported to\n"); + print(STDERR " : -i filename - Input ldif file(s)\n"); + print(STDERR " : -s include - Included suffix\n"); + print(STDERR " : -x exclude - Excluded suffix(es)\n"); + print(STDERR " : -O - Only create core db, no attr indexes\n"); + print(STDERR " : -c size - Merge chunk size\n"); + print(STDERR " : -g [string] - String is \"none\" or \"deterministic\"\n"); + print(STDERR " : none - Unique id is not generated\n"); + print(STDERR " : deterministic - Generate name based unique id (-G name)\n"); + print(STDERR " : by default - Generate time based unique id\n"); + print(STDERR " : -G name - Namespace id for name based uniqueid (-g deterministic)\n"); print(STDERR " : -E - Encrypt data when importing\n"); - print(STDERR " : -v - verbose\n"); + print(STDERR " : -v - Verbose\n"); } @ldiffiles = ( -- 2.7.4