From 56142bd512a0c64ce5e56773d6c8f10fc933dca5 Mon Sep 17 00:00:00 2001 From: Orien Vandenbergh Date: Wed, 21 Oct 2015 13:36:03 -0600 Subject: [PATCH] Fixed a couple syntax issues in the incomplete settings.rb --- mrsh/lib/mrsh_settings.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mrsh/lib/mrsh_settings.rb b/mrsh/lib/mrsh_settings.rb index 8cfad57..d634a7b 100644 --- a/mrsh/lib/mrsh_settings.rb +++ b/mrsh/lib/mrsh_settings.rb @@ -83,7 +83,7 @@ class Settings @ansi = false when '--exclude-quiet' @data.exclude_quiet = true - when --output-path' + when '--output-path' if arg.empty? then @output_path = "/tmp/mrsh.%s.%d" % [ time.strftime("%Y%m%d"), Process.pid ] else @@ -131,3 +131,4 @@ class Settings puts "- Sending all output to files under: #{@output_path}/" end end +end