From 3990ea204ce06c470ff9401eb5af8752dce800f0 Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Sat, 17 Aug 2019 18:48:06 +0200 Subject: make help message look more like other tools --- example/comptime-clap.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/comptime-clap.zig') diff --git a/example/comptime-clap.zig b/example/comptime-clap.zig index 5df215b..8e0eb12 100644 --- a/example/comptime-clap.zig +++ b/example/comptime-clap.zig @@ -9,8 +9,8 @@ pub fn main() !void { // First we specify what parameters our program can take. // We can use `parseParam` to parse a string to a `Param(Help)` const params = comptime [_]clap.Param(clap.Help){ - clap.parseParam("-h, --help Display this help and exit. ") catch unreachable, - clap.parseParam("-n, --number=NUM An option parameter, which takes a value.") catch unreachable, + clap.parseParam("-h, --help Display this help and exit. ") catch unreachable, + clap.parseParam("-n, --number An option parameter, which takes a value.") catch unreachable, clap.Param(clap.Help){ .takes_value = true, }, -- cgit v1.2.3