Merge pull request #151 from dznz/tweak-init-usage-message
Minor tweak to make explicit order of arguments to middleman init
This commit is contained in:
commit
f3f770bbfa
|
@ -12,7 +12,7 @@ module Middleman
|
||||||
help_check if options[:help]
|
help_check if options[:help]
|
||||||
end
|
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(", ")
|
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 "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'
|
method_option "css_dir", :default => "stylesheets", :desc => 'The path to the css files'
|
||||||
|
|
Loading…
Reference in a new issue