From 7023a5e622e934bfa05a4b7ec2341603c261dfdd Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Wed, 30 Jan 2013 21:56:54 +0100 Subject: [PATCH 1/2] Added the --future switch back to the CLI --- bin/jekyll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/jekyll b/bin/jekyll index 0034f75e..3c9636b5 100755 --- a/bin/jekyll +++ b/bin/jekyll @@ -21,6 +21,7 @@ command :build do |c| c.syntax = 'jekyll build [options]' c.description = 'Build your site with the option of auto-renegeration' + c.option '--future', 'Publishes posts with a future date' c.option '-w', '--watch', 'Watch for changes and rebuild' c.option '--lsi', 'Use LSI for improved related posts' @@ -35,6 +36,7 @@ command :serve do |c| c.syntax = 'jekyll serve [options]' c.description = 'Serve your site locally with the option of auto-regeneration' + c.option '--future', 'Publishes posts with a future date' c.option '-w', '--watch', 'Watch for changes and rebuild' c.option '--lsi', 'Use LSI for improved related posts' From 6e8202f9a61318882e83dda8c26f31bc90e0bab4 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Wed, 30 Jan 2013 22:04:56 +0100 Subject: [PATCH 2/2] Added in --limit-posts --- bin/jekyll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/jekyll b/bin/jekyll index 3c9636b5..66809959 100755 --- a/bin/jekyll +++ b/bin/jekyll @@ -22,6 +22,7 @@ command :build do |c| c.description = 'Build your site with the option of auto-renegeration' c.option '--future', 'Publishes posts with a future date' + c.option '--limit_posts MAX_POSTS', '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' @@ -37,6 +38,7 @@ command :serve do |c| c.description = 'Serve your site locally with the option of auto-regeneration' c.option '--future', 'Publishes posts with a future date' + c.option '--limit_posts MAX_POSTS', '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'