class Bundler::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 boolean? sample << ", [#{dasherize("no-" + human_name)}]" unless name == "force" end if aliases.empty? (" " * padding) << sample else "#{aliases.join(', ')}, #{sample}" end end