bin/middleman in middleman-cli-4.0.0.alpha.5 vs bin/middleman in middleman-cli-4.0.0.alpha.6

- old
+ new

@@ -12,7 +12,12 @@ require "middleman-cli" # Change directory to the root Dir.chdir(ENV["MM_ROOT"]) if ENV["MM_ROOT"] +# Default command is server +if ARGV[0] != 'help' && (ARGV.length < 1 || ARGV.first.include?('-')) + ARGV.unshift('server') +end + # Start the CLI -Middleman::Cli::Base.start +Middleman::Cli::Base.start(ARGV)