Switch that takes no arguments.
[Source]
# File lib/optparse.rb, line 418 418: def self.incompatible_argument_styles(*) 419: end
# File lib/optparse.rb, line 421 421: def self.pattern 422: Object 423: end
Raises an exception if any arguments given.
# File lib/optparse.rb, line 413 413: def parse(arg, argv, &error) 414: yield(NeedlessArgument, arg) if arg 415: conv_arg(arg) 416: end
[Validate]