summaryrefslogtreecommitdiff
path: root/clap.zig
diff options
context:
space:
mode:
authorGravatar Valentin Charoux2024-11-14 04:24:24 +0100
committerGravatar Komari Spaghetti2024-11-15 09:35:33 +0100
commitf91ba757cb8eed4a115d206f8ccb6c52b2ebad7c (patch)
tree9b5e978d0e36f8f7ba1c9add357fc637c31c62f4 /clap.zig
parentchore: Update to latest version of zig (diff)
downloadzig-clap-f91ba757cb8eed4a115d206f8ccb6c52b2ebad7c.tar.gz
zig-clap-f91ba757cb8eed4a115d206f8ccb6c52b2ebad7c.tar.xz
zig-clap-f91ba757cb8eed4a115d206f8ccb6c52b2ebad7c.zip
fix: add uint parsing function
In order to get the more precise `ParseIntError.InvalidCharacter` error instead of `ParseIntError.Overflow` when a negative number is passed to a usize, uX typed argument, I use the `fmt.parseUnsigned` function.
Diffstat (limited to 'clap.zig')
0 files changed, 0 insertions, 0 deletions