Added in --limit-posts

This commit is contained in:
Parker Moore 2013-01-30 22:04:56 +01:00
parent 7023a5e622
commit 6e8202f9a6
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ command :build do |c|
c.description = 'Build your site with the option of auto-renegeration' c.description = 'Build your site with the option of auto-renegeration'
c.option '--future', 'Publishes posts with a future date' 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 '-w', '--watch', 'Watch for changes and rebuild'
c.option '--lsi', 'Use LSI for improved related posts' 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.description = 'Serve your site locally with the option of auto-regeneration'
c.option '--future', 'Publishes posts with a future date' 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 '-w', '--watch', 'Watch for changes and rebuild'
c.option '--lsi', 'Use LSI for improved related posts' c.option '--lsi', 'Use LSI for improved related posts'