class Thor::Option
def usage(padding = 0)
def usage(padding = 0) sample = if banner && !banner.to_s.empty? "#{switch_name}=#{banner}" else switch_name end sample = "[#{sample}]" unless required? if aliases.empty? (' ' * padding) << sample else "#{aliases.join(', ')}, #{sample}" end end