Navigation Menu

Skip to content

Commit

Permalink
droonga-engine: show the default value
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 5, 2015
1 parent 70f5f95 commit 6c23420
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/droonga/command/droonga_engine.rb
Expand Up @@ -271,11 +271,12 @@ def add_log_options(parser)
parser.on("--log-level=LEVEL", levels,
"The log level of the Droonga engine",
"[#{levels_label}]",
"(#{log_level})") do |level|
"(#{default_log_level})") do |level|
self.log_level = level
end
parser.on("--log-file=FILE",
"Output logs to FILE") do |path|
"Output logs to FILE",
"(#{default_log_file_path})") do |path|
self.log_file_path = path
end
end
Expand Down

0 comments on commit 6c23420

Please sign in to comment.