From b2059e5d086731a37f5988bfc6bfdb0848f14ece Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Mon, 29 Nov 2021 17:01:36 +0100 Subject: Improve help and usage examples Instead of just calling these function, have the examples be small programs that demonstrates how you would actually use them together with argument parsing. fixes #57 --- example/README.md.template | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example/README.md.template') diff --git a/example/README.md.template b/example/README.md.template index 74a2f1d..1848d03 100644 --- a/example/README.md.template +++ b/example/README.md.template @@ -74,6 +74,7 @@ program can take. ``` ``` +$ zig-out/bin/help --help -h, --help Display this help and exit. -v, --version Output version information and exit. ``` @@ -97,6 +98,7 @@ of the help message. ``` ``` +$ zig-out/bin/usage --help [-hv] [--value ] ``` -- cgit v1.2.3