diff options
author | elijah <elijah@riseup.net> | 2012-12-09 22:27:01 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-12-09 22:27:01 -0800 |
commit | 7f8efcc081517227cc81de736539722725290428 (patch) | |
tree | 29755c395f5e08cd687b91c259c3a7e3e26a144f | |
parent | d79ddaf3d03453f847f4625e096465c2dfec7786 (diff) | |
download | leap_cli-7f8efcc081517227cc81de736539722725290428.tar.gz leap_cli-7f8efcc081517227cc81de736539722725290428.tar.bz2 |
minor change to log appearance
-rw-r--r-- | lib/leap_cli/log.rb | 7 |
1 files changed, 4 insertions, 3 deletions
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] |