Skip to content

Commit

Permalink
Add --no-server option.
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Dec 17, 2010
1 parent a8a837c commit 86397cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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.
Expand Down
4 changes: 4 additions & 0 deletions bin/jekyll
Expand Up @@ -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
Expand Down

0 comments on commit 86397cb

Please sign in to comment.