From cc0885a2fd8c4bbfbf8ffbe6e31a8d0540fec495 Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Tue, 10 Nov 2020 18:31:35 +0100 Subject: Better parseParam --- clap/comptime.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'clap/comptime.zig') diff --git a/clap/comptime.zig b/clap/comptime.zig index 1570eaf..80eb428 100644 --- a/clap/comptime.zig +++ b/clap/comptime.zig @@ -152,9 +152,7 @@ test "" { clap.parseParam("-b, --bb ") catch unreachable, clap.parseParam("-c, --cc ") catch unreachable, clap.parseParam("-d, --dd ...") catch unreachable, - clap.Param(clap.Help){ - .takes_value = .One, - }, + clap.parseParam("

") catch unreachable, }); var buf: [1024]u8 = undefined; -- cgit v1.2.3