class Rouge::CLI
def self.parse(argv=ARGV)
def self.parse(argv=ARGV) argv = normalize_syntax(argv) mode = argv.shift klass = class_from_arg(mode) return klass.parse(argv) if klass case mode when '-h', '--help', 'help', '-help' Help.parse(argv) else argv.unshift(mode) if mode Highlight.parse(argv) end end