mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
04.13.2010 d692e4398b8e742b765dc332eefc3020ae2de191
sdk/src/com/sun/opends/sdk/tools/ModRate.java
@@ -211,6 +211,8 @@
  private BooleanArgument verbose;
  private BooleanArgument scriptFriendly;
  private ModRate(final InputStream in, final OutputStream out,
@@ -288,7 +290,7 @@
  @Override
  public boolean isScriptFriendly()
  {
    return false;
    return scriptFriendly.isPresent();
  }
@@ -361,6 +363,11 @@
          OPTION_LONG_HELP, INFO_DESCRIPTION_SHOWUSAGE.get());
      argParser.addArgument(showUsage);
      argParser.setUsageArgument(showUsage, getOutputStream());
      scriptFriendly = new BooleanArgument("scriptFriendly", 'S',
          "scriptFriendly", INFO_DESCRIPTION_SCRIPT_FRIENDLY.get());
      scriptFriendly.setPropertyName("scriptFriendly");
      argParser.addArgument(scriptFriendly);
    }
    catch (final ArgumentException ae)
    {