summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/log.rb3
-rw-r--r--lib/leap_cli/version.rb2
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/leap_cli/log.rb b/lib/leap_cli/log.rb
index fe9e1b7..af2fae7 100644
--- a/lib/leap_cli/log.rb
+++ b/lib/leap_cli/log.rb
@@ -131,6 +131,9 @@ module LeapCli
#
# set line prefix
#
+ if (host)
+ host = host.split('.').first
+ end
prefix = prefix_str(host, title)
#
diff --git a/lib/leap_cli/version.rb b/lib/leap_cli/version.rb
index 779aa25..bb8bbaf 100644
--- a/lib/leap_cli/version.rb
+++ b/lib/leap_cli/version.rb
@@ -1,7 +1,7 @@
module LeapCli
unless defined?(LeapCli::VERSION)
VERSION = '1.9'
- COMPATIBLE_PLATFORM_VERSION = '0.8'..'0.99'
+ COMPATIBLE_PLATFORM_VERSION = '0.9'..'0.99'
SUMMARY = 'Command line interface to the LEAP platform'
DESCRIPTION = 'The command "leap" can be used to manage a bevy of servers running the LEAP platform from the comfort of your own home.'
LOAD_PATHS = ['lib',