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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/slop/options.rb b/lib/slop/options.rb
index 3a1e429..009964a 100644
--- a/lib/slop/options.rb
+++ b/lib/slop/options.rb
@@ -59,7 +59,7 @@ module Slop
# Add a separator between options. Used when displaying
# the help text.
- def separator(string)
+ def separator(string = "")
if separators[options.size]
separators[-1] += "\n#{string}"
else