Merge pull request #4505 from lonnen/fixup-deprecated-help-string
Merge pull request 4505
This commit is contained in:
commit
150862ee96
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue