diff options
| author | 2021-06-24 17:36:35 +0200 | |
|---|---|---|
| committer | 2021-06-24 17:38:25 +0200 | |
| commit | d02219c58fe2487139da712e2c93d28078b096d1 (patch) | |
| tree | 5446e5d28c7200e810dc1b6e0c1b490ef72d2574 /clap.zig | |
| parent | Tag 0.4.1 (diff) | |
| download | zig-clap-d02219c58fe2487139da712e2c93d28078b096d1.tar.gz zig-clap-d02219c58fe2487139da712e2c93d28078b096d1.tar.xz zig-clap-d02219c58fe2487139da712e2c93d28078b096d1.zip | |
Fix all new compiler errors from zig master
Diffstat (limited to '')
| -rw-r--r-- | clap.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -110,7 +110,7 @@ pub fn parseParam(line: []const u8) !Param(Help) { | |||
| 110 | } else null; | 110 | } else null; |
| 111 | 111 | ||
| 112 | var res = parseParamRest(it.rest()); | 112 | var res = parseParamRest(it.rest()); |
| 113 | res.names.long = param_str[2..]; | 113 | res.names.long = long_name; |
| 114 | res.names.short = short_name; | 114 | res.names.short = short_name; |
| 115 | return res; | 115 | return res; |
| 116 | } | 116 | } |