lib/octopress/commands/helpers.rb in octopress-3.0.0.rc.28 vs lib/octopress/commands/helpers.rb in octopress-3.0.0.rc.29

- old
+ new

@@ -1,11 +1,12 @@ module Octopress module CommandHelpers extend self def add_page_options(c) - c.option 'template', '-tm', '--template PATH', "New #{c.name.to_s} from a template." c.option 'date', '-d', '--date DATE', "Use 'now' or a String that is parseable by Time#parse." + c.option 'template', '-tm', '--template PATH', "New #{c.name.to_s} from a template." + c.option 'lang', '-l', '--lang LANGUAGE', "Set a #{c.name.to_s} language (e.g. en, it) for multi-language sites." c.option 'force', '-f', '--force', 'Overwrite file if it already exists' end def add_common_options(c) c.option 'config', '-c', '--config <CONFIG_FILE>[,CONFIG_FILE2,...]', Array, 'Custom Jekyll configuration file'