summaryrefslogtreecommitdiff
path: root/clap/args.zig
diff options
context:
space:
mode:
authorGravatar Komari Spaghetti2021-06-24 17:22:33 +0200
committerGravatar Komari Spaghetti2021-06-24 17:22:33 +0200
commit9db6e56d1603a5fe738516b10a3b15b9209e4680 (patch)
treeb3d6c3ba7a27f37ebfa02a64a698ac13c62a545b /clap/args.zig
parentparseParam: Set eval quota to std.math.maxInt(u32) (diff)
downloadzig-clap-9db6e56d1603a5fe738516b10a3b15b9209e4680.tar.gz
zig-clap-9db6e56d1603a5fe738516b10a3b15b9209e4680.tar.xz
zig-clap-9db6e56d1603a5fe738516b10a3b15b9209e4680.zip
Stay under 100 chars per line in all the code
Diffstat (limited to 'clap/args.zig')
-rw-r--r--clap/args.zig7
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