add consistency to the deprecation message
This commit is contained in:
parent
c85a3aafbe
commit
e191109549
|
@ -22,7 +22,7 @@ module Jekyll
|
|||
|
||||
def no_subcommand(args)
|
||||
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
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue