You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstaticfinalStringMISMATCH_BOOLEAN_OPTION = "Boolean option %s must have " + PLUS_MINUS_BOOLEAN_OPTION_PREFIX + " prefix. Use '" + PLUS_MINUS_BOOLEAN_OPTION_PREFIX + "%s' format.";
63
+
publicstaticfinalStringMISMATCH_NON_BOOLEAN_OPTION = "Non-boolean option %s can not use " + PLUS_MINUS_BOOLEAN_OPTION_PREFIX + " prefix. Use '%s=<value>' format.";
62
64
63
65
publicstaticfinalintPRINT_OPTION_INDENTATION = 2;
64
66
publicstaticfinalintPRINT_OPTION_WIDTH = 45;
@@ -244,7 +246,7 @@ public static OptionParseResult parseOption(EconomicMap<String, OptionDescriptor
244
246
245
247
if (value == null) {
246
248
if (optionType == Boolean.class && booleanOptionFormat == BooleanOptionFormat.PLUS_MINUS) {
247
-
returnOptionParseResult.error("Boolean option " + current + " must have +/- prefix");
0 commit comments