diff options
| author | 2019-09-05 23:51:59 +0200 | |
|---|---|---|
| committer | 2019-09-05 23:51:59 +0200 | |
| commit | 25ddbaea75ec88b409057546b79bd95526790964 (patch) | |
| tree | 0eb93a3ba3f0e6589ba1cbe25c6932801d0693b7 /clap.zig | |
| parent | always interpret '-' and '--' as positionals (diff) | |
| download | zig-clap-25ddbaea75ec88b409057546b79bd95526790964.tar.gz zig-clap-25ddbaea75ec88b409057546b79bd95526790964.tar.xz zig-clap-25ddbaea75ec88b409057546b79bd95526790964.zip | |
use emun literals
Diffstat (limited to 'clap.zig')
| -rw-r--r-- | clap.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -55,7 +55,7 @@ pub fn Param(comptime Id: type) type { | |||
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | /// Takes a string and parses it to a Param(Help). | 57 | /// Takes a string and parses it to a Param(Help). |
| 58 | /// This is the reverse of 'help2' but for at single parameter only. | 58 | /// This is the reverse of 'help' but for at single parameter only. |
| 59 | pub fn parseParam(line: []const u8) !Param(Help) { | 59 | pub fn parseParam(line: []const u8) !Param(Help) { |
| 60 | var res = Param(Help){ | 60 | var res = Param(Help){ |
| 61 | .id = Help{ | 61 | .id = Help{ |