summaryrefslogtreecommitdiff
path: root/lib/slop/options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/slop/options.rb')
-rw-r--r--lib/slop/options.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/slop/options.rb b/lib/slop/options.rb
index 41913e0..3a1e429 100644
--- a/lib/slop/options.rb
+++ b/lib/slop/options.rb
@@ -111,6 +111,10 @@ module Slop
str << "#{prefix}#{opt.to_s(offset: len)}\n"
end
+ if sep = separators[options.size]
+ str << "#{sep}\n"
+ end
+
str
end