lib/jekyll/commands/help.rb in jekyll-3.1.0.pre.beta1 vs lib/jekyll/commands/help.rb in jekyll-3.1.0.pre.rc1
- old
+ new
@@ -1,10 +1,9 @@
module Jekyll
module Commands
class Help < Command
class << self
-
def init_with_program(prog)
prog.command(:help) do |c|
c.syntax 'help [subcommand]'
c.description 'Show the help message, optionally for a given subcommand.'
@@ -24,10 +23,9 @@
def invalid_command(prog, cmd)
Jekyll.logger.error "Error:", "Hmm... we don't know what the '#{cmd}' command is."
Jekyll.logger.info "Valid commands:", prog.commands.keys.join(", ")
end
-
end
end
end
end