Skip to content

Commit

Permalink
Merge pull request #2672 from ganmacs/remove-unnecessaray-space
Browse files Browse the repository at this point in the history
Remove unnecessary space
  • Loading branch information
ganmacs authored Oct 29, 2019
2 parents d9533da + ad1dc7f commit 97113ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/fluent/command/fluentd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
if Fluent.windows?
require 'windows/library'
include Windows::Library

opts.merge!(
:winsvc_name => 'fluentdwinsvc',
:winsvc_display_name => 'Fluentd Windows Service',
Expand All @@ -184,15 +184,15 @@
op.on('--reg-winsvc-fluentdopt OPTION', "specify fluentd option parameters for Windows Service. (Windows only)") {|s|
opts[:fluentdopt] = s
}

op.on('--winsvc-name NAME', "The Windows Service name to run as (Windows only)") {|s|
opts[:winsvc_name] = s
}

op.on('--winsvc-display-name DISPLAY_NAME', "The Windows Service display name (Windows only)") {|s|
opts[:winsvc_display_name] = s
}

op.on('--winsvc-desc DESC', "The Windows Service description (Windows only)") {|s|
opts[:winsvc_desc] = s
}
Expand Down Expand Up @@ -268,7 +268,7 @@
start_service = true
end


Service.create(
service_name: opts[:winsvc_name],
host: nil,
Expand Down

0 comments on commit 97113ba

Please sign in to comment.