Skip to content
Browse files

Add --no-server option.

  • Loading branch information...
1 parent a8a837c commit 86397cbf000ce8e1285a6a6269a52d0c04493a84 @mojombo mojombo committed Dec 16, 2010
Showing with 8 additions and 0 deletions.
  1. +4 −0 History.txt
  2. +4 −0 bin/jekyll
View
4 History.txt
@@ -1,3 +1,7 @@
+== HEAD
+ * Bug Fixes
+ * Add --no-server option.
+
== 0.9.0 / 2010-12-15
* Minor Enhancements
* Use OptionParser's [no-] functionality for better boolean parsing.
View
4 bin/jekyll
@@ -36,6 +36,10 @@ opts = OptionParser.new do |opts|
options['server_port'] = port unless port.nil?
end
+ opts.on("--no-server", "Do not start a web server") do |part|
+ options['server'] = false
+ end
+
opts.on("--base-url [BASE_URL]", "Serve website from a given base URL (default '/'") do |baseurl|
options['baseurl'] = baseurl
end

0 comments on commit 86397cb

Please sign in to comment.
Something went wrong with that request. Please try again.