Skip to content

Commit 629d0bd

Browse files
committedOct 4, 2015
Flesh out rake -T output
1 parent f74092d commit 629d0bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎Rakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ drafts_dir = '_drafts'
22
posts_dir = '_posts'
33

44
# rake post['my new post']
5-
desc 'create a new post'
5+
desc 'create a new post with "rake post[\'post title\']"'
66
task :post, :title do |t, args|
77
if args.title
88
title = args.title
@@ -29,7 +29,7 @@ task :post, :title do |t, args|
2929
end
3030

3131
# usage: rake draft['my new draft']
32-
desc 'create a new draft post'
32+
desc 'create a new draft post with "rake draft[\'draft title\']"'
3333
task :draft, :title do |t, args|
3434
if args.title
3535
title = args.title

‎apple-touch-icon.png

-1
This file was deleted.

‎apple-touch-icon.png

2.56 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.