summaryrefslogtreecommitdiff
path: root/bin/chef-zero
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chef-zero')
-rwxr-xr-xbin/chef-zero3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/chef-zero b/bin/chef-zero
index 231d71b..03b6d01 100755
--- a/bin/chef-zero
+++ b/bin/chef-zero
@@ -31,7 +31,8 @@ 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] ||= []
+ options[:host] << value
end
opts.on("-p", "--port PORT", "Port to listen on (e.g. 8889, or 8500-8600 or 8885,8888)") do |value|