summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2011-05-19 15:23:00 +0100
committerLee Jarvis <lee@jarvis.co>2011-05-19 15:23:00 +0100
commit50823e7648b8ccdfd827953fe9d4c98df6e014a9 (patch)
tree1aacf5f4e7352c93fa7b68fc12bd12b97cbbfee2 /README.md
parentfd91ced47ee2149bbfefaf22753269c5c618efff (diff)
downloadslop-50823e7648b8ccdfd827953fe9d4c98df6e014a9.tar.gz
no need to document this in readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 0 insertions, 5 deletions
diff --git a/README.md b/README.md
index 38360f8..7823cae 100644
--- a/README.md
+++ b/README.md
@@ -275,11 +275,6 @@ when an invalid option is found (`false` by default):
Slop.new(:strict => true).parse(%w/--foo/)
# => Slop::InvalidOptionError: Unknown option -- 'foo'
-and it handles multiple invalid options with a sprinkling of pluralization:
-
- Slop.new(:strict => true).parse(%w/--foo --bar -z/)
- # => Slop::InvalidOptionError: Unknown options -- 'foo', 'bar', 'z'
-
Significantly, however, Slop will still parse the valid options:
slop = Slop.new(:strict => true, :help => true) do