adds an argument invoked by an option without -
or --
.
adds an argument invoked by an option without -
or --
.
name in the usage text
adds final check.
adds a command invoked by an option without -
or --
.
adds a command invoked by an option without -
or --
.
name of the command
call this to express failure in custom validation.
adds usage text.
adds an option invoked by -x
or --name
that displays usage text and exits.
adds an option invoked by -x
or --name
that displays usage text and exits.
name of the short option
name of the option
adds an option invoked by --name
that displays usage text and exits.
adds an option invoked by --name
that displays usage text and exits.
name of the option
adds usage text.
adds an option invoked by -x value
or --name value
.
adds an option invoked by -x value
or --name value
.
name of the short option
name of the option
adds an option invoked by --name x
.
adds an option invoked by --name x
.
name of the option
parses the given args
.
parses the given args
.
parses the given args
.
true
if successful, false
otherwise
call this to express success in custom validation.
adds an option invoked by -x
or --name
that displays header text and exits.
adds an option invoked by -x
or --name
that displays header text and exits.
name of the short option
name of the option
adds an option invoked by --name
that displays header text and exits.
adds an option invoked by --name
that displays header text and exits.
name of the option
scopt.immutable.OptionParser
is instantiated within your object, set up by an (ordered) sequence of invocations of the various builder methods such asopt
method orarg
method.