summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2011-06-07 16:53:26 +0100
committerLee Jarvis <lee@jarvis.co>2011-06-07 16:53:26 +0100
commit14af200428ee02e94c5ddbb215350d899d6de186 (patch)
tree5668300a357564f2c30e18704c79b9f08e30cab7 /README.md
parente2cbe59c7812a8df0117de601ac1b296c6674cf1 (diff)
downloadslop-14af200428ee02e94c5ddbb215350d899d6de186.tar.gz
fix indentation on readme example
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c05d814..6ffb307 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ Usage
-----
# parse assumes ARGV, otherwise you can pass it your own Array
opts = Slop.parse do
- on :v, :verbose, 'Enable verbose mode' # boolean value
+ on :v, :verbose, 'Enable verbose mode' # boolean value
on :n, :name, 'Your name', true # option requires a compulsory argument
on :s, :sex, 'Your sex', :optional => false # the same thing
on '-a', '--age', 'Your age', :optional => true # optional argument