From 7399ee309e960733c3f6701eba685fbe284365cf Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Sat, 17 Aug 2019 15:21:45 +0200 Subject: adds parseParam a less verbose way of getting a Param(Help). --- example/README.md.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/README.md.template') 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. -v, --version Output version information and exit. ``` -The `help` function is the simplest to call. It only takes an `OutStream` and a slice of -`Param([]const u8)`. This function assumes that the id of each parameter is the help message. +The `help` functions are the simplest to call. It only takes an `OutStream` and a slice of +`Param(Help)`. The `helpEx` is the generic version of `help`. It can print a help message for any `Param` give that the caller provides functions for getting the help and value strings. -- cgit v1.2.3