lib/octopress/commands/new.rb in octopress-3.0.0.rc.35 vs lib/octopress/commands/new.rb in octopress-3.0.0.rc.36
- old
+ new
@@ -24,11 +24,11 @@
CommandHelpers.add_page_options c
CommandHelpers.add_common_options c
c.action do |args, options|
if args.empty?
- c.logger.error "Plese choose a path"
+ c.logger.error "Plese pass a path for your new page."
puts c
else
options['path'] = args.first
Page.new(Octopress.site(options), options).write
end
@@ -43,11 +43,11 @@
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 choose a title."
+ c.logger.error "Please pass a title for your new post."
puts c
else
options['title'] = args.join(" ")
Post.new(Octopress.site(options), options).write
end
@@ -61,10 +61,10 @@
c.option 'slug', '-s', '--slug SLUG', 'Use this slug in filename instead of sluggified post title.'
CommandHelpers.add_common_options c
c.action do |args, options|
if args.empty?
- c.logger.error "Plese choose a title"
+ c.logger.error "Plese pass a title for your new draft."
puts c
else
options['title'] = args.join(" ")
Draft.new(Octopress.site(options), options).write
end