Increased default spacing in commands and flags
This commit is contained in:
@@ -7,9 +7,9 @@ Flags:
|
||||
---------------------------------------------------------------
|
||||
<%- @flags.each do |flag| -%>
|
||||
<%- unless flag.short.nil? -%>
|
||||
<%= "%-15s %s" % ["#{flag.short.not_nil!.strip},#{flag.long.strip}", flag.description.strip] %>
|
||||
<%= "%-30s %s" % ["#{flag.short.not_nil!.strip},#{flag.long.strip}", flag.description.strip] %>
|
||||
<%- else -%>
|
||||
<%= "%-15s %s" % [flag.long.strip, flag.description.strip] %>
|
||||
<%= "%-30s %s" % [flag.long.strip, flag.description.strip] %>
|
||||
<%- end -%>
|
||||
|
||||
<%- end -%>
|
||||
@@ -17,7 +17,7 @@ Flags:
|
||||
Other Commands
|
||||
---------------------------------------------------------------
|
||||
<%- @commands.each do |command| -%>
|
||||
<%= "%-15s %s" % [ command.name, command.description ] %>
|
||||
<%= "%-30s %s" % [ command.name, command.description ] %>
|
||||
<%- end -%>
|
||||
|
||||
<%- end -%>
|
||||
@@ -25,7 +25,7 @@ Other Commands
|
||||
SubCommands of <%= @name %>:
|
||||
---------------------------------------------------------------
|
||||
<%- subcommands.each do |cmd| -%>
|
||||
<%= "%-15s %s" % [cmd.name, cmd.description] %>
|
||||
<%= "%-30s %s" % [cmd.name, cmd.description] %>
|
||||
<%- end -%>
|
||||
|
||||
<%- cmds = subcommands.select{|c| ! c.examples.nil? } -%>
|
||||
|
||||
Reference in New Issue
Block a user