From 79ac2d6b53e7d6440a75b624922fe4570766bfc0 Mon Sep 17 00:00:00 2001 From: Davide Ficano Date: Mon, 26 Aug 2013 17:19:32 +0200 Subject: [PATCH] Fixed --layouts option The --layouts option isn't correctly declared causing a parse error when user specify it on command line --- bin/jekyll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/jekyll b/bin/jekyll index b2b34b5d..53ce267e 100755 --- a/bin/jekyll +++ b/bin/jekyll @@ -18,7 +18,7 @@ global_option '-s', '--source [DIR]', 'Source directory (defaults to ./)' global_option '-d', '--destination [DIR]', 'Destination directory (defaults to ./_site)' global_option '--safe', 'Safe mode (defaults to false)' global_option '-p', '--plugins PLUGINS_DIR1[,PLUGINS_DIR2[,...]]', Array, 'Plugins directory (defaults to ./_plugins)' -global_option '--layouts', 'Layouts directory (defaults to ./_layouts)' +global_option '--layouts DIR', String, 'Layouts directory (defaults to ./_layouts)' # Option names don't always directly match the configuration value we'd like. # This method will rename options to match what Jekyll configuration expects.