]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
fix bug with `leap list` on some servers.
authorelijah <elijah@riseup.net>
Tue, 1 Apr 2014 17:34:56 +0000 (10:34 -0700)
committerelijah <elijah@riseup.net>
Tue, 1 Apr 2014 17:34:56 +0000 (10:34 -0700)
lib/leap_cli/commands/list.rb

index 7e803d40993169c3062ba73531d828de9eeb3e09..fe3b77f9903b6159f65e091d77e55e6d89bfe903 100644 (file)
@@ -65,12 +65,12 @@ module LeapCli; module Commands
       tags = @tag_list.keys.sort
       max_width = [20, (tags+[@heading]).inject(0) {|max,i| [i.size,max].max}].max
       table :border => false do
-        row :header => true, :color => 'cyan'  do
+        row :color => 'cyan'  do
           column @heading, :align => 'right', :width => max_width
           column "NODES", :width => HighLine::SystemExtensions.terminal_size.first - max_width - 2, :padding => 2
         end
         tags.each do |tag|
-          row do
+          row :color => 'white' do
             column tag
             column @tag_list[tag].node_list.keys.sort.join(', ')
           end