lib/cl/help/cmd.rb in cl-0.1.10 vs lib/cl/help/cmd.rb in cl-0.1.11
- old
+ new
@@ -63,9 +63,10 @@
end
def cmmn
@cmmn ||= begin
opts = cmd.superclass.opts
+ opts = opts.reject(&:internal?)
strs = Table.new(rjust(opts.map { |opt| [*opt.strs] }))
opts = opts.map { |opt| format_obj(opt) }
Table.new(strs.rows.zip(opts))
end
end