From 88496c3a54b4c6e969cb0dce5cf67e5da6846740 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Mon, 31 Oct 2016 13:59:39 +0000
Subject: [PATCH] OPENDJ-2772 Code cleanup

---
 opendj-cli/src/main/java/com/forgerock/opendj/cli/CommonArguments.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommonArguments.java b/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommonArguments.java
index ce34201..74b242e 100644
--- a/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommonArguments.java
+++ b/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommonArguments.java
@@ -632,6 +632,20 @@
     }
 
     /**
+     * Returns the "-S, --scriptFriendly" boolean argument used in the sdk toolkit.
+     *
+     * @return The "-S, --scriptFriendly" argument.
+     * @throws ArgumentException
+     *             If there is a problem with any of the parameters used to create this argument.
+     */
+    public static BooleanArgument scriptFriendlySdkArgument() throws ArgumentException {
+        return BooleanArgument.builder("scriptFriendly")
+                .shortIdentifier('S')
+                .description(INFO_DESCRIPTION_SCRIPT_FRIENDLY.get())
+                .buildArgument();
+    }
+
+    /**
      * Returns the "LDAP port" integer argument.
      *
      * @param defaultLdapPort

--
Gitblit v1.10.0