diff --git a/lib/jekyll/deprecator.rb b/lib/jekyll/deprecator.rb index e5574bdf952..ca2b8b3f74a 100644 --- a/lib/jekyll/deprecator.rb +++ b/lib/jekyll/deprecator.rb @@ -5,7 +5,7 @@ module Deprecator def process(args) arg_is_present? args, "--server", "The --server command has been replaced by the \ 'serve' subcommand." - arg_is_present? args, "--serve", "The --server command has been replaced by the \ + arg_is_present? args, "--serve", "The --serve command has been replaced by the \ 'serve' subcommand." arg_is_present? args, "--no-server", "To build Jekyll without launching a server, \ use the 'build' subcommand." @@ -46,6 +46,5 @@ def defaults_deprecate_type(old, current) Jekyll.logger.warn "Defaults:", "Please update your front-matter defaults to use \ 'type: #{current}'." end - end end