From c6dce1660b5a3bc015792abba4df3c6fdb52f5e2 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Wed, 25 Mar 2015 19:03:14 -0700 Subject: [PATCH] bin/jekyll: with no args, exit with exit code 1 fixes #3584 --- bin/jekyll | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/jekyll b/bin/jekyll index 6c968cec..60330cd7 100755 --- a/bin/jekyll +++ b/bin/jekyll @@ -31,6 +31,7 @@ Mercenary.program(:jekyll) do |p| if args.empty? Jekyll.logger.error "A subcommand is required." puts p + abort else unless p.has_command?(args.first) Jekyll.logger.abort_with "Invalid command. Use --help for more information"