lib/eco/cli/config/help.rb in eco-helpers-2.0.16 vs lib/eco/cli/config/help.rb in eco-helpers-2.0.17

- old
+ new

@@ -14,9 +14,10 @@ end # Creatas a well aligned line def help_line(key, desc, keys_max_len = key.length, line_len = 100) blanks = keys_max_len + 3 - key.length + blanks = blanks < 0 ? 0 : blanks top_line = " #{key}#{" "*blanks} " indent = top_line.length first = true each_slice_words(desc, line_len - indent).each_with_object([]) do |line, lines| lines << (first ? "#{top_line}#{line}" : "#{" " * indent}#{line}")