lib/cl/help/cmd.rb in cl-0.1.2 vs lib/cl/help/cmd.rb in cl-0.1.3

- old
+ new

@@ -90,10 +90,10 @@ opts << 'required: true' if obj.required? opts += format_opt(obj) if obj.is_a?(Opt) opts = opts.join(', ') opts = "(#{opts})" if obj.description && !opts.empty? opts = [obj.description, opts] - opts.compact.join(' ') + opts.compact.map(&:strip).join(' ') end def format_opt(opt) opts = [] opts << "alias: #{format_aliases(opt)}" if opt.aliases?