From 7f8efcc081517227cc81de736539722725290428 Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 9 Dec 2012 22:27:01 -0800 Subject: minor change to log appearance --- lib/leap_cli/log.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/leap_cli/log.rb') diff --git a/lib/leap_cli/log.rb b/lib/leap_cli/log.rb index 4b0bbe2..89cf0ba 100644 --- a/lib/leap_cli/log.rb +++ b/lib/leap_cli/log.rb @@ -51,11 +51,11 @@ module LeapCli options = args.grep(Hash).first || {} options[:indent] ||= LeapCli.indent_level if message && LeapCli.log_level >= level - print " " * (options[:indent]+1) + print " " * (options[:indent]) if options[:indent] > 0 - print '- ' + print ' - ' else - print '= ' + print ' = ' end if title prefix = case title @@ -74,6 +74,7 @@ module LeapCli when :completed then ['completed', :green, :bold] when :ran then ['ran', :green, :bold] when :bail then ['bailing out', :red, :bold] + when :invalid then ['invalid', :red, :bold] else [title.to_s, :cyan, :bold] end if options[:host] -- cgit v1.2.3