diff options
Diffstat (limited to 'lib/leap_cli')
-rw-r--r-- | lib/leap_cli/log.rb | 3 |
1 files changed, 3 insertions, 0 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) # |