From 1174876c7af485271e088260207ade472d43d987 Mon Sep 17 00:00:00 2001 From: dznz Date: Mon, 31 Oct 2011 17:03:22 +1300 Subject: [PATCH] Minor tweak to make explicit order of arguments to middleman init --- lib/middleman/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleman/cli.rb b/lib/middleman/cli.rb index 9a5846af..ac588200 100644 --- a/lib/middleman/cli.rb +++ b/lib/middleman/cli.rb @@ -12,7 +12,7 @@ module Middleman help_check if options[:help] end - desc "init NAME", "Create new Middleman project directory NAME" + desc "init NAME [options]", "Create new Middleman project directory NAME" available_templates = Middleman::Templates.registered_names.join(", ") method_option "template", :aliases => "-T", :default => "default", :desc => "Optionally use a pre-defined project template: #{available_templates}" method_option "css_dir", :default => "stylesheets", :desc => 'The path to the css files'