lib/cl/format/cmd.rb in cl-0.0.3 vs lib/cl/format/cmd.rb in cl-0.0.4
- old
+ new
@@ -8,10 +8,10 @@
[banner, Table.new(opts).format].join("\n")
end
def banner
banner = []
- banner << "#{cmd.summary}\n" if cmd.summary
+ banner << "#{cmd.purpose}\n" if cmd.purpose
banner << "Usage: #{Usage.new(cmd).format}\n"
banner
end
def opts