diff --git a/docs/apidocs/index-all.html b/docs/apidocs/index-all.html index 7b586533c..3b6ec3278 100644 --- a/docs/apidocs/index-all.html +++ b/docs/apidocs/index-all.html @@ -2496,11 +2496,11 @@
boolean
interpolateVariables()
-CommandLine.Model.CommandSpec
interpolateVariables(Boolean interpolate)
-public boolean interpolateVariables()-
public CommandLine.Model.CommandSpec interpolateVariables(Boolean interpolate)-
boolean
isInterpolateVariables()
-CommandLine
setInterpolateVariables(boolean interpolate)
-public boolean isInterpolateVariables()-
true
.true
.public CommandLine setInterpolateVariables(boolean interpolate)-
true
.
+true
.
The specified setting will be registered with this CommandLine
and the full hierarchy of its
subcommands and nested sub-subcommands at the moment this method is called. Subcommands added
later will have the default setting. To ensure a setting is applied to all
diff --git a/src/main/java/picocli/CommandLine.java b/src/main/java/picocli/CommandLine.java
index a822605cd..86c4b5c88 100644
--- a/src/main/java/picocli/CommandLine.java
+++ b/src/main/java/picocli/CommandLine.java
@@ -579,10 +579,10 @@ public CommandLine setToggleBooleanFlags(boolean newValue) {
return this;
}
- /** Returns whether whether variables should be interpolated in String values. The default is {@code true}.
+ /** Returns whether variables should be interpolated in String values. The default is {@code true}.
* @since 4.0 */
public boolean isInterpolateVariables() { return getCommandSpec().interpolateVariables(); }
- /** Sets whether whether variables should be interpolated in String values. The default is {@code true}.
+ /** Sets whether variables should be interpolated in String values. The default is {@code true}.
*
The specified setting will be registered with this {@code CommandLine} and the full hierarchy of its * subcommands and nested sub-subcommands at the moment this method is called. Subcommands added * later will have the default setting. To ensure a setting is applied to all @@ -6521,10 +6521,10 @@ private void initCommandHierarchyWithResourceBundle(String bundleBaseName, Resou * @since 4.0 */ public CommandSpec setAddMethodSubcommands(Boolean addMethodSubcommands) { isAddMethodSubcommands = addMethodSubcommands; return this; } - /** Returns whether whether variables should be interpolated in String values. True by default. + /** Returns whether variables should be interpolated in String values. True by default. * @since 4.0 */ public boolean interpolateVariables() { return (interpolateVariables == null) ? DEFAULT_INTERPOLATE_VARIABLES : interpolateVariables; } - /** Sets whether whether variables should be interpolated in String values. True by default. + /** Sets whether variables should be interpolated in String values. True by default. * @since 4.0 */ public CommandSpec interpolateVariables(Boolean interpolate) { interpolateVariables = interpolate; return this; }