From 9c65ceb22dea9fa507ea6ece5132a0fabd0915bc Mon Sep 17 00:00:00 2001 From: Tom Bell Date: Wed, 19 Dec 2012 16:56:08 +0000 Subject: [PATCH] Remove comments --- bin/jekyll2 | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/bin/jekyll2 b/bin/jekyll2 index 76e4c94d..29030c47 100755 --- a/bin/jekyll2 +++ b/bin/jekyll2 @@ -19,17 +19,13 @@ global_option '--safe', 'Safe mode (defaults to false)' global_option '--plugins', 'Plugins directory (defaults to ./_plugins)' global_option '--layouts', 'Layouts directory (defaults to ./_layouts)' -# Build command -# -# Options: -# --source -# --destination -# --watch 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__) @@ -37,21 +33,13 @@ command :build do |c| end end -# Serve command -# -# Options: -# --source -# --destination -# --watch -# -# --port -# --host -# --baseurl 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'