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

Valery Kharseko
24.16.2024 7ef912e6dced0f2752dd6f0925396fa076848d35
[#394] FIX dsconfig --help-<subcommand> (#406)

1 files modified
7 ■■■■ changed files
opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommandArgumentParser.java 7 ●●●● patch | view | raw | blame | history
opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommandArgumentParser.java
@@ -13,6 +13,7 @@
 *
 * Copyright 2006-2010 Sun Microsystems, Inc.
 * Portions Copyright 2011-2016 ForgeRock AS.
 * Portions Copyright 2018-2024 3A Systems, LLC.
 */
package com.forgerock.opendj.cli;
@@ -412,7 +413,11 @@
                // If this is a usage argument, then immediately stop and print
                // usage information.
                if (usageGroupArguments.containsKey(a)) {
                        writeToUsageOutputStream(getUsage());//getUsage(a);
                    if ((System.getProperty("org.forgerock.opendj.gendoc") != null)) {
                        writeToUsageOutputStream(getUsage());
                    }else {
                        getUsage(a);
                    }
                    return;
                }