Fixed a couple syntax issues in the incomplete settings.rb

This commit is contained in:
Orien Vandenbergh 2015-10-21 13:36:03 -06:00
parent f0cf697aa3
commit 56142bd512

View File

@ -83,7 +83,7 @@ class Settings
@ansi = false @ansi = false
when '--exclude-quiet' when '--exclude-quiet'
@data.exclude_quiet = true @data.exclude_quiet = true
when --output-path' when '--output-path'
if arg.empty? then if arg.empty? then
@output_path = "/tmp/mrsh.%s.%d" % [ time.strftime("%Y%m%d"), Process.pid ] @output_path = "/tmp/mrsh.%s.%d" % [ time.strftime("%Y%m%d"), Process.pid ]
else else
@ -131,3 +131,4 @@ class Settings
puts "- Sending all output to files under: #{@output_path}/" puts "- Sending all output to files under: #{@output_path}/"
end end
end end
end