From 5ef2a78077ef11431ef1625246ff14642ac556d3 Mon Sep 17 00:00:00 2001 From: jkeiser Date: Sun, 23 Dec 2012 16:13:04 -0800 Subject: Add test start/stop/data APIs, use Thin directly, use Chef::Log instead of puts --- bin/chef-zero | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/chef-zero b/bin/chef-zero index 5f41dae..29de409 100755 --- a/bin/chef-zero +++ b/bin/chef-zero @@ -8,18 +8,18 @@ require 'chef_zero/server' require 'optparse' options = { - :Host => '127.0.0.1', - :Port => 8889, + :host => '127.0.0.1', + :port => 8889, :generate_real_keys => false } OptionParser.new do |opts| opts.banner = "Usage: chef-zero [ARGS]" opts.on("-H", "--host HOST", "Host to bind to (default: 127.0.0.1)") do |value| - options[:Host] = value + options[:host] = value end opts.on("-p", "--port PORT", Integer, "Port to listen on") do |value| - options[:Port] = value + options[:port] = value end opts.on("--[no-]generate-keys", "Whether to generate actual keys or fake it (faster). Default: false.") do |value| options[:generate_real_keys] = value -- cgit v1.2.1