summaryrefslogtreecommitdiff
path: root/lib/pry/slop/option.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pry/slop/option.rb')
-rw-r--r--lib/pry/slop/option.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pry/slop/option.rb b/lib/pry/slop/option.rb
index 8a0df7e1..d39998b8 100644
--- a/lib/pry/slop/option.rb
+++ b/lib/pry/slop/option.rb
@@ -127,12 +127,12 @@ class Pry
out = " #{short ? "-#{short}, " : ' ' * 4}"
if long
- out << "--#{long}"
+ out += "--#{long}"
size = long.size
diff = @slop.config[:longest_flag] - size
- out << (' ' * (diff + 6))
+ out += (' ' * (diff + 6))
else
- out << (' ' * (@slop.config[:longest_flag] + 8))
+ out += (' ' * (@slop.config[:longest_flag] + 8))
end
"#{out}#{description}"