summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSeth Vargo <sethvargo@gmail.com>2013-05-19 18:29:18 -0500
committerSeth Vargo <sethvargo@gmail.com>2013-05-19 18:29:18 -0500
commita780cbb788e05b8e0fae20139c8854982dff637d (patch)
tree75ea5d19407226e0b230a1ac9f7cc74a4cb222da /bin
parenta31f0c5ecc2ec2c8c8722bf6f68bca0bbf4e0bea (diff)
downloadchef-zero-a780cbb788e05b8e0fae20139c8854982dff637d.tar.gz
Allow the user to specify any log level
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chef-zero4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/chef-zero b/bin/chef-zero
index 4178c1e..b4f7d69 100755
--- a/bin/chef-zero
+++ b/bin/chef-zero
@@ -24,8 +24,8 @@ OptionParser.new do |opts|
options[:generate_real_keys] = value
end
- opts.on("-d", "--debug", "Show requests and debugging output") do |value|
- options[:debug] = true
+ opts.on("-l", "--log-level LEVEL", "Set the output log level") do |value|
+ options[:log_level] = value
end
opts.on_tail("-h", "--help", "Show this message") do