diff options
Diffstat (limited to 'clap/args.zig')
| -rw-r--r-- | clap/args.zig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/clap/args.zig b/clap/args.zig index 555e8ab..d848eb7 100644 --- a/clap/args.zig +++ b/clap/args.zig | |||
| @@ -252,7 +252,12 @@ pub const ShellIterator = struct { | |||
| 252 | } | 252 | } |
| 253 | } | 253 | } |
| 254 | 254 | ||
| 255 | fn result(iter: *ShellIterator, start: usize, end: usize, list: *std.ArrayList(u8)) Error!?[]const u8 { | 255 | fn result( |
| 256 | iter: *ShellIterator, | ||
| 257 | start: usize, | ||
| 258 | end: usize, | ||
| 259 | list: *std.ArrayList(u8), | ||
| 260 | ) Error!?[]const u8 { | ||
| 256 | const res = iter.str[start..end]; | 261 | const res = iter.str[start..end]; |
| 257 | 262 | ||
| 258 | // If we already have something in `list` that means that we could not | 263 | // If we already have something in `list` that means that we could not |