From d298e2bd5759514343a4ac64665a8fa853fec0b2 Mon Sep 17 00:00:00 2001 From: Tom Bell Date: Wed, 19 Dec 2012 16:44:03 +0000 Subject: [PATCH] Add LSI option for build and serve commands --- bin/jekyll2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/jekyll2 b/bin/jekyll2 index 7c99f953..76e4c94d 100755 --- a/bin/jekyll2 +++ b/bin/jekyll2 @@ -29,6 +29,7 @@ command :build do |c| c.syntax = 'jekyll build [options]' c.description = 'Build your site with the option of auto-renegeration' c.option '-w', '--watch', 'Watch for changes and rebuild' + c.option '--lsi', 'Use LSI for improved related posts' c.action do |args, options| options.defaults :serving => false options = Jekyll.configuration(options.__hash__) @@ -50,6 +51,7 @@ command :serve do |c| c.syntax = 'jekyll serve [options]' c.description = 'Serve your site locally with the option of auto-regeneration' c.option '-w', '--watch', 'Watch for changes and rebuild' + c.option '--lsi', 'Use LSI for improved related posts' c.option '-p', '--port [PORT]', 'Port to listen on' c.option '-h', '--host [HOST]', 'Host to bind to' c.option '-b', '--baseurl [URL]', 'Base URL'