summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2010-11-30 18:46:45 +0000
committerLee Jarvis <lee@jarvis.co>2010-11-30 18:46:45 +0000
commit253c5604bc320ad64c14dbf3bcde9799c897ad22 (patch)
tree67a1a985294d738ac7a5f2ad63dcd774bf6612a8
parentd4f1bf6400b56b28d8193804d2f038cc1fc2057a (diff)
downloadslop-253c5604bc320ad64c14dbf3bcde9799c897ad22.tar.gz
fix example type in readme
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9fc5a8e..d349c4e 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ Usage
s = Slop.parse(ARGV) do
option(:v, :verbose, "Enable verbose mode", :default => false)
option(:n, :name, "Your name", true) # compulsory argument
- option(:c, :country, "Your country", argument => true) # the same thing
+ option(:c, :country, "Your country", :argument => true) # the same thing
option(:a, :age, "Your age", true, :optional => true) # optional argument
option(:address, "Your address", :optional => true) # the same