summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2011-06-08 15:26:41 +0100
committerLee Jarvis <lee@jarvis.co>2011-06-08 15:26:41 +0100
commit1be7098b455bd82deabc13a491316bf9fa9dbcf9 (patch)
treec914f10979223acda82415e1d7767fdd219543aa /README.md
parent11fab5f73f99b49a403531c25134bcc1caff48e9 (diff)
downloadslop-1be7098b455bd82deabc13a491316bf9fa9dbcf9.tar.gz
oops, missed more commands in readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 0 insertions, 15 deletions
diff --git a/README.md b/README.md
index 3bb4f46..0602921 100644
--- a/README.md
+++ b/README.md
@@ -209,21 +209,6 @@ when an invalid option is found (`false` by default):
Slop.new(:strict => true).parse(%w/--foo/)
# => Slop::InvalidOptionError: Unknown option -- 'foo'
-Commands
---------
-
-Slop allows you to nest more instances of Slop inside of `commands`. These
-instances will then be used to parse arguments if they're called upon.
-
-Slop will use the first argument in the list of items passed to `parse` to
-check if it is a `command`.
-
- Slop.parse ['foo', '--bar', 'baz']
-
-Slop will look to see if the `foo` command exists, and if it does, it'll pass
-the options `['--bar', 'baz']` to the instance of Slop that belongs to `foo`.
-Here's how commands might look:
-
Features
--------