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