directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r408203 - /directory/branches/elecharny/apacheds/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java
Date Sun, 21 May 2006 17:49:46 GMT
Author: elecharny
Date: Sun May 21 10:49:46 2006
New Revision: 408203

URL: http://svn.apache.org/viewvc?rev=408203&view=rev
Log:
Changed the -i option that was already used to -e

Modified:
    directory/branches/elecharny/apacheds/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java

Modified: directory/branches/elecharny/apacheds/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java
URL: http://svn.apache.org/viewvc/directory/branches/elecharny/apacheds/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java?rev=408203&r1=408202&r2=408203&view=diff
==============================================================================
--- directory/branches/elecharny/apacheds/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java
(original)
+++ directory/branches/elecharny/apacheds/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java
Sun May 21 10:49:46 2006
@@ -887,7 +887,7 @@
         // figure out the 'ignore-errors' flag
         // -------------------------------------------------------------------
 
-        if ( cmd.hasOption( 'i' ) )
+        if ( cmd.hasOption( 'e' ) )
         {
             ignoreErrors = true;
 
@@ -963,7 +963,7 @@
         op = new Option( "f", "file", true, "the ldif file to import" );
         op.setRequired( true );
         opts.addOption( op );
-        op = new Option( "i", "ignore", true, "continue to process the file even if errors
are encountered " );
+        op = new Option( "e", "ignore", false, "continue to process the file even if errors
are encountered " );
         op.setRequired( false );
         opts.addOption( op );
 



Mime
View raw message