# File lib/slop.rb, line 207 def to_s out = " " out += short_flag ? "-#{short_flag}, " : ' ' * 4 if long_flag out += "--#{long_flag}" if help.respond_to? :to_str out += " #{help}" size = long_flag.size + help.size + 1 else size = long_flag.size end diff = @slop.longest_flag - size out += " " * (diff + 6) else out += " " * (@slop.longest_flag + 8) end "#{out}#{description}" end