amoralej / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 years ago
Clone

Blame SOURCES/0035-Ticket-48215-update-dbverify-usage.patch

a2f18f
From 4fdac66777dd780bd1e46d91bf38513832934695 Mon Sep 17 00:00:00 2001
a2f18f
From: Mark Reynolds <mreynolds@redhat.com>
a2f18f
Date: Thu, 6 Aug 2015 10:13:40 -0400
a2f18f
Subject: [PATCH 35/39] Ticket 48215 - update dbverify usage
a2f18f
a2f18f
Description:  Need to add the "-a" argument usage
a2f18f
a2f18f
https://fedorahosted.org/389/ticket/48215
a2f18f
(cherry picked from commit 20284e6539f557efc0679d974d5156cdcd55c407)
a2f18f
(cherry picked from commit 8e08c8b53641d807b63d87ee79564c596c5da4dd)
a2f18f
---
a2f18f
 ldap/admin/src/scripts/dbverify.in | 15 ++++++++-------
a2f18f
 1 file changed, 8 insertions(+), 7 deletions(-)
a2f18f
a2f18f
diff --git a/ldap/admin/src/scripts/dbverify.in b/ldap/admin/src/scripts/dbverify.in
a2f18f
index 778a9ba..461cc16 100755
a2f18f
--- a/ldap/admin/src/scripts/dbverify.in
a2f18f
+++ b/ldap/admin/src/scripts/dbverify.in
a2f18f
@@ -14,15 +14,16 @@ PATH=$PATH:/bin
a2f18f
 
a2f18f
 usage()
a2f18f
 {
a2f18f
-    echo "Usage: dbverify [-Z serverID] [-n backend_instance] [-V] [-v] [-d debuglevel] [-h]"
a2f18f
+    echo "Usage: dbverify [-Z serverID] [-n backend_instance] [-a db_directory ] [-V] [-v] [-d debuglevel] [-h]"
a2f18f
     echo "Note if \"-n backend\" is not passed, verify all DBs."
a2f18f
     echo "Options:"
a2f18f
-    echo "        -Z             - Server instance identifier"
a2f18f
-    echo "        -n backend     - Backend database name.  Example: userRoot"
a2f18f
-    echo "        -V             - Verbose output"
a2f18f
-    echo "        -d debuglevel  - Debugging level"
a2f18f
-    echo "        -v             - Display version"
a2f18f
-    echo "        -h             - Display usage"
a2f18f
+    echo "        -Z              - Server instance identifier"
a2f18f
+    echo "        -n backend      - Backend database name.  Example: userRoot"
a2f18f
+    echo "        -a db_directory - Database directory"
a2f18f
+    echo "        -V              - Verbose output"
a2f18f
+    echo "        -d debuglevel   - Debugging level"
a2f18f
+    echo "        -v              - Display version"
a2f18f
+    echo "        -h              - Display usage"
a2f18f
 }
a2f18f
 
a2f18f
 display_version="no"
a2f18f
-- 
a2f18f
1.9.3
a2f18f