ArgParser.getUsage()
with ArgParser.usage
, a getter. ArgParser.getUsage()
is now deprecated, to be removed in args version 1.0.0.collection
package.Removed public constructors for ArgResults
and Option
.
ArgResults.wasParsed()
can be used to determine if an option was actually parsed or the default value is being returned.
Replaced isFlag
and allowMultiple
fields in the Option
class with a three-value OptionType
enum.
Options may define valueHelp
which will then be shown in the usage.
ArgParser.parse()
into ArgParser
itself. This lets subcommands have different behavior for how they handle trailing options.