Skip to content

Commit

Permalink
[#394] FIX dsconfig --help-<subcommand> (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
vharseko authored Sep 24, 2024
1 parent 8006c79 commit 7ef912e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -412,7 +413,11 @@ public void parseArguments(String[] rawArguments, Properties argumentProperties)
// 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;
}

Expand Down

0 comments on commit 7ef912e

Please sign in to comment.