-
Deprecated ClassesClassDescriptionSince 1.3, use the
DefaultParserinstead.UseHelpFormatter.Since 1.3, useOption.builder(String)instead.Since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases.Since 1.3, use theDefaultParserinstead.
-
Deprecated FieldsFieldDescriptionUse
DefaultParser.nonOptionActioninstead. This field is unused, and left for binary compatibility reasons.Scope will be made private for next major version - use get/setArgName methods instead.Scope will be made private for next major version - use get/setDescPadding methods instead.Scope will be made private for next major version - use get/setLeftPadding methods instead.Scope will be made private for next major version - use get/setLongOptPrefix methods instead.Scope will be made private for next major version - use get/setNewLine methods instead.Scope will be made private for next major version - use get/setOptPrefix methods instead.Scope will be made private for next major version - use get/setSyntaxPrefix methods instead.Scope will be made private for next major version - use get/setWidth methods instead.
-
Deprecated MethodsMethodDescriptiondue to System.err message; use
CommandLine.getParsedOptionValue(char)instead.due to System.err message; useCommandLine.getParsedOptionValue(String)instead.Unused.UseOption.Builder.get().Since 1.3, useOption.setType(Class)instead.Since 1.3, useOptionBuilder.withType(Class)instead.Without replacement.
-
Deprecated ConstructorsConstructorDescriptionWill be private or class will be final.
DefaultParserinstead.