summaryrefslogtreecommitdiff
path: root/lib/leap_cli/util.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-09-01 13:22:33 -0700
committerelijah <elijah@riseup.net>2016-09-01 13:22:33 -0700
commit5e266e1f9d22fbb78612a896f47a19be5106aee1 (patch)
treed085979f1dcfdcdab5ee8058ecf552ce4c67eae0 /lib/leap_cli/util.rb
parentcd809a6b69790b48344abfaa294edd8c4d4c7231 (diff)
print friendly message if leap_platform is too old (closes #8423)
Diffstat (limited to 'lib/leap_cli/util.rb')
-rw-r--r--lib/leap_cli/util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/util.rb b/lib/leap_cli/util.rb
index 8826d21..ae73731 100644
--- a/lib/leap_cli/util.rb
+++ b/lib/leap_cli/util.rb
@@ -45,7 +45,7 @@ module LeapCli
if message.any?
log(0, *message, &block)
else
- log(0, :bailing, "out", &block)
+ log(0, :bailing, "out", :color => :red, :style => :bold, &block)
end
raise SystemExit.new(exit_status || 1)
end