Merge pull request #4505 from lonnen/fixup-deprecated-help-string

Merge pull request 4505
This commit is contained in:
jekyllbot 2016-02-10 15:26:53 -08:00
commit 150862ee96
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module Jekyll
def no_subcommand(args) def 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)
deprecation_message "Jekyll now uses subcommands instead of just switches. Run `jekyll --help` to find out more." deprecation_message "Jekyll now uses subcommands instead of just switches. Run `jekyll help` to find out more."
abort abort
end end
end end