File tree Expand file tree Collapse file tree
main/java/org/apache/commons/cli
test/java/org/apache/commons/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public Builder setAllowPartialMatching(final boolean allowPartialMatching) {
106106 *
107107 * If "stripping of balanced leading and trailing double quotes from option arguments" is null,
108108 * then quotes will be stripped from option values separated by space from the option, but
109- * kept in other cases, which is the historic behaviour .
109+ * kept in other cases, which is the historic behavior .
110110 *
111111 * @param stripLeadingAndTrailingQuotes whether balanced leading and trailing double quotes should be stripped from option arguments.
112112 * @return this builder, to allow method chaining
@@ -157,7 +157,7 @@ public static Builder builder() {
157157 private final boolean allowPartialMatching ;
158158
159159 /** Flag indicating if balanced leading and trailing double quotes should be stripped from option arguments.
160- * null represents the historic arbitrary behaviour */
160+ * null represents the historic arbitrary behavior */
161161 private final Boolean stripLeadingAndTrailingQuotes ;
162162
163163 /**
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public void testShortOptionConcatenatedQuoteHandling() throws Exception {
9797
9898 final CommandLine cl = parser .parse (options , args );
9999
100- //This is behaviour is not consistent with the other parsers, but is required for backwards compatibility
100+ //This is behavior is not consistent with the other parsers, but is required for backwards compatibility
101101 assertEquals ("Confirm -b\" arg\" keeps quotes" , "\" quoted string\" " , cl .getOptionValue ("b" ));
102102 }
103103
You can’t perform that action at this time.
0 commit comments