lib/octopress/commands/new.rb in octopress-3.0.3.alpha.2 vs lib/octopress/commands/new.rb in octopress-3.0.4
- old
+ new
@@ -38,10 +38,10 @@
c.command(:post) do |c|
c.syntax 'post <TITLE> [options]'
c.description 'Add a new post to your Jekyll site.'
CommandHelpers.add_page_options c
c.option 'slug', '-s', '--slug SLUG', 'Use this slug in filename instead of sluggified post title.'
- c.option 'dir', '-d', '--dir DIR', 'Create post at _posts/DIR/.'
+ c.option 'dir', '-D', '--dir DIR', 'Create post at _posts/DIR/.'
CommandHelpers.add_common_options c
c.action do |args, options|
if args.empty?
c.logger.error "Please pass a title for your new post."