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

Gaetan Boismal
27.32.2016 df993e4e7a2b5af0c8e0907a80e1a4cef10ee56d
opendj-server-legacy/src/main/java/org/opends/server/tools/status/StatusCliArgumentParser.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2012-2015 ForgeRock AS.
 *      Portions Copyright 2012-2016 ForgeRock AS.
 */
package org.opends.server.tools.status;
@@ -109,10 +109,13 @@
    initializeGlobalArguments(defaultArgs);
    refreshArg = new IntegerArgument("refresh", 'r',
        "refresh", false, true, INFO_PERIOD_PLACEHOLDER.get(),
        true, 1, false, Integer.MAX_VALUE,
        INFO_DESCRIPTION_REFRESH_PERIOD.get());
    refreshArg =
            IntegerArgument.builder("refresh")
                    .shortIdentifier('r')
                    .description(INFO_DESCRIPTION_REFRESH_PERIOD.get())
                    .lowerBound(1)
                    .valuePlaceholder(INFO_PERIOD_PLACEHOLDER.get())
                    .buildArgument();
    addGlobalArgument(refreshArg, ioArgGroup);
  }