summaryrefslogtreecommitdiff
path: root/lib/chef/application/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/application/base.rb')
-rw-r--r--lib/chef/application/base.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/application/base.rb b/lib/chef/application/base.rb
index 959ab66ea5..382fd3d66b 100644
--- a/lib/chef/application/base.rb
+++ b/lib/chef/application/base.rb
@@ -94,11 +94,10 @@ class Chef::Application::Base < Chef::Application
description: "Set the log level (auto, trace, debug, info, warn, error, fatal).",
proc: lambda { |l| l.to_sym }
- option :log_location,
+ option :log_location_cli,
short: "-L LOGLOCATION",
long: "--logfile LOGLOCATION",
- description: "Set the log file location, defaults to STDOUT - recommended for daemonizing.",
- proc: nil
+ description: "Set the log file location, defaults to STDOUT - recommended for daemonizing."
option :always_dump_stacktrace,
long: "--[no-]always-dump-stacktrace",