summaryrefslogtreecommitdiff
path: root/example/README.md.template
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2019-08-17 15:21:45 +0200
committerGravatar Jimmi Holst Christensen2019-08-17 15:21:45 +0200
commit7399ee309e960733c3f6701eba685fbe284365cf (patch)
treecb061d7d326a2a5385ecec2dc5bd0d11fa7a4d34 /example/README.md.template
parentbuild with latest version of zig (diff)
downloadzig-clap-7399ee309e960733c3f6701eba685fbe284365cf.tar.gz
zig-clap-7399ee309e960733c3f6701eba685fbe284365cf.tar.xz
zig-clap-7399ee309e960733c3f6701eba685fbe284365cf.zip
adds parseParam
a less verbose way of getting a Param(Help).
Diffstat (limited to 'example/README.md.template')
-rw-r--r--example/README.md.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/README.md.template b/example/README.md.template
index 88914fb..446fd78 100644
--- a/example/README.md.template
+++ b/example/README.md.template
@@ -67,8 +67,8 @@ program can take.
67 -v, --version Output version information and exit. 67 -v, --version Output version information and exit.
68``` 68```
69 69
70The `help` function is the simplest to call. It only takes an `OutStream` and a slice of 70The `help` functions are the simplest to call. It only takes an `OutStream` and a slice of
71`Param([]const u8)`. This function assumes that the id of each parameter is the help message. 71`Param(Help)`.
72 72
73The `helpEx` is the generic version of `help`. It can print a help message for any 73The `helpEx` is the generic version of `help`. It can print a help message for any
74`Param` give that the caller provides functions for getting the help and value strings. 74`Param` give that the caller provides functions for getting the help and value strings.