diff options
author | Seth Vargo <sethvargo@gmail.com> | 2013-05-19 18:29:18 -0500 |
---|---|---|
committer | Seth Vargo <sethvargo@gmail.com> | 2013-05-19 18:29:18 -0500 |
commit | a780cbb788e05b8e0fae20139c8854982dff637d (patch) | |
tree | 75ea5d19407226e0b230a1ac9f7cc74a4cb222da /bin | |
parent | a31f0c5ecc2ec2c8c8722bf6f68bca0bbf4e0bea (diff) | |
download | chef-zero-a780cbb788e05b8e0fae20139c8854982dff637d.tar.gz |
Allow the user to specify any log level
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chef-zero | 4 |
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 |