From f4c8bcc317807fd851707a6ad1c8301b13e6e3fc Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Wed, 7 Aug 2013 16:01:21 -0500 Subject: [PATCH] Add -D short-form switch for drafts Add -D short-form switch for the drafts option, to compliment --drafts --- bin/jekyll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/jekyll b/bin/jekyll index fe61508e..bfe13068 100755 --- a/bin/jekyll +++ b/bin/jekyll @@ -64,7 +64,7 @@ command :build do |c| c.option '--limit_posts MAX_POSTS', Integer, 'Limits the number of posts to parse and publish' c.option '-w', '--watch', 'Watch for changes and rebuild' c.option '--lsi', 'Use LSI for improved related posts' - c.option '--drafts', 'Render posts in the _drafts folder' + c.option '-D', '--drafts', 'Render posts in the _drafts folder' c.action do |args, options| options = normalize_options(options.__hash__) @@ -82,7 +82,7 @@ command :serve do |c| c.option '--limit_posts MAX_POSTS', Integer, 'Limits the number of posts to parse and publish' c.option '-w', '--watch', 'Watch for changes and rebuild' c.option '--lsi', 'Use LSI for improved related posts' - c.option '--drafts', 'Render posts in the _drafts folder' + c.option '-D', '--drafts', 'Render posts in the _drafts folder' c.option '-P', '--port [PORT]', 'Port to listen on' c.option '-H', '--host [HOST]', 'Host to bind to'