Switch that takes no arguments.
[Source]
# File lib/optparse.rb, line 433 433: def self.incompatible_argument_styles(*) 434: end
# File lib/optparse.rb, line 436 436: def self.pattern 437: Object 438: end
Raises an exception if any arguments given.
# File lib/optparse.rb, line 428 428: def parse(arg, argv) 429: yield(NeedlessArgument, arg) if arg 430: conv_arg(arg) 431: end
[Validate]