Fixing help command in deprecation warning

This commit is contained in:
Marc Ransome 2014-05-27 18:42:44 +01:00
parent a68fb9d0b6
commit 3b41a44050
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ module Jekyll
def self.no_subcommand(args) def self.no_subcommand(args)
if args.size > 0 && args.first =~ /^--/ && !%w[--help --version].include?(args.first) if args.size > 0 && args.first =~ /^--/ && !%w[--help --version].include?(args.first)
Jekyll.logger.error "Deprecation:", "Jekyll now uses subcommands instead of just \ Jekyll.logger.error "Deprecation:", "Jekyll now uses subcommands instead of just \
switches. Run `jekyll help' to find out more." switches. Run `jekyll --help' to find out more."
end end
end end