summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2018-04-27 00:25:12 +0200
committerGravatar Jimmi Holst Christensen2018-04-27 00:25:12 +0200
commit25e7072686cfa3b91df689bf5b76c6fb728003f6 (patch)
tree34684285a170012923726273ea3d5e970aa0d969 /README.md
parentAdded the ability to have argument have indexs (diff)
downloadzig-clap-25e7072686cfa3b91df689bf5b76c6fb728003f6.tar.gz
zig-clap-25e7072686cfa3b91df689bf5b76c6fb728003f6.tar.xz
zig-clap-25e7072686cfa3b91df689bf5b76c6fb728003f6.zip
Short args can now take values directly after the arg
* closes #5
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index b90f5cd..b4ecc65 100644
--- a/README.md
+++ b/README.md
@@ -13,4 +13,5 @@ See [example](example.zig).
13 * Chaining `-abc` where `a` and `b` does not take values. 13 * Chaining `-abc` where `a` and `b` does not take values.
14* Long arguments `--long` 14* Long arguments `--long`
15* Supports both passing values using spacing and `=` (`-a 100`, `-a=100`) 15* Supports both passing values using spacing and `=` (`-a 100`, `-a=100`)
16 * Both work with chaining (`-ba 100`, `-ba=100`) 16 * Short args also support passing values with no spacing or `=` (`-a100`)
17 * This all works with chaining (`-ba 100`, `-ba=100`, `-ba100`)