diff options
| author | 2019-08-17 18:48:06 +0200 | |
|---|---|---|
| committer | 2019-08-17 18:48:06 +0200 | |
| commit | 3990ea204ce06c470ff9401eb5af8752dce800f0 (patch) | |
| tree | 57d8185833d12730666b350506149d00472ee092 /src | |
| parent | add missing word (diff) | |
| download | zig-clap-3990ea204ce06c470ff9401eb5af8752dce800f0.tar.gz zig-clap-3990ea204ce06c470ff9401eb5af8752dce800f0.tar.xz zig-clap-3990ea204ce06c470ff9401eb5af8752dce800f0.zip | |
make help message look more like other tools
Diffstat (limited to 'src')
| -rw-r--r-- | src/comptime.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comptime.zig b/src/comptime.zig index 8fd3c1d..f5c2762 100644 --- a/src/comptime.zig +++ b/src/comptime.zig | |||
| @@ -114,9 +114,9 @@ pub fn ComptimeClap(comptime Id: type, comptime params: []const clap.Param(Id)) | |||
| 114 | 114 | ||
| 115 | test "clap.comptime.ComptimeClap" { | 115 | test "clap.comptime.ComptimeClap" { |
| 116 | const Clap = ComptimeClap(clap.Help, comptime [_]clap.Param(clap.Help){ | 116 | const Clap = ComptimeClap(clap.Help, comptime [_]clap.Param(clap.Help){ |
| 117 | clap.parseParam("-a, --aa ") catch unreachable, | 117 | clap.parseParam("-a, --aa ") catch unreachable, |
| 118 | clap.parseParam("-b, --bb ") catch unreachable, | 118 | clap.parseParam("-b, --bb ") catch unreachable, |
| 119 | clap.parseParam("-c, --cc=V") catch unreachable, | 119 | clap.parseParam("-c, --cc <V>") catch unreachable, |
| 120 | clap.Param(clap.Help){ | 120 | clap.Param(clap.Help){ |
| 121 | .takes_value = true, | 121 | .takes_value = true, |
| 122 | }, | 122 | }, |