diff options
| author | Jeffrey C. Ollie <jeff@ocjtech.us> | 2023-12-30 22:52:47 -0600 |
|---|---|---|
| committer | Jeffrey C. Ollie <jeff@ocjtech.us> | 2023-12-30 22:52:47 -0600 |
| commit | 4ef8d099a7092c44035df283e605d1e617dbdee4 (patch) | |
| tree | d831c2e63ae71bce20317a40d42137d1c50baa3d /src/cli/args.zig | |
| parent | 792284fb69fc5dea5f92d5efcd1b2786ca12f1a3 (diff) | |
Make the abnormal runtime threshold configurable.
Diffstat (limited to 'src/cli/args.zig')
| -rw-r--r-- | src/cli/args.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cli/args.zig b/src/cli/args.zig index 99e6f7aa1..6444400a7 100644 --- a/src/cli/args.zig +++ b/src/cli/args.zig @@ -230,6 +230,12 @@ fn parseIntoField( 0, ) catch return error.InvalidValue, + u64 => std.fmt.parseInt( + u64, + value orelse return error.ValueRequired, + 0, + ) catch return error.InvalidValue, + f64 => std.fmt.parseFloat( f64, value orelse return error.ValueRequired, |
