summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2018-11-15 12:55:21 +0100
committerGravatar GitHub2018-11-15 12:55:21 +0100
commit877c66c87d7c91908a38bd02725b6ee51842b23f (patch)
treef2cebe57bad2e1dde4556e7a22a887e4daa27171 /README.md
parentAdded help function (diff)
downloadzig-clap-877c66c87d7c91908a38bd02725b6ee51842b23f.tar.gz
zig-clap-877c66c87d7c91908a38bd02725b6ee51842b23f.tar.xz
zig-clap-877c66c87d7c91908a38bd02725b6ee51842b23f.zip
Update README.md
Diffstat (limited to '')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index cb6a7b0..e9d1709 100644
--- a/README.md
+++ b/README.md
@@ -141,8 +141,8 @@ try clap.help(
141The `help` function is the simplest to call. It only takes an `OutStream` and a slice of 141The `help` function is the simplest to call. It only takes an `OutStream` and a slice of
142`Param([]const u8)`. This function assumes that the id of each parameter is the help message. 142`Param([]const u8)`. This function assumes that the id of each parameter is the help message.
143 143
144The `clap.helpEx` is the generic version of `help`. It can print a help message for any 144The `helpEx` is the generic version of `help`. It can print a help message for any
145`Param`, but requires some extra arguments for it to work. 145`Param`, but requires some extra arguments to work.
146 146
147```rust 147```rust
148fn getHelp(_: void, param: clap.Param(u8)) error{}![]const u8 { 148fn getHelp(_: void, param: clap.Param(u8)) error{}![]const u8 {