diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2024-10-19 10:42:58 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2024-10-19 10:43:08 -0700 |
| commit | fc6eda66232e381f514bd0097bd91ecee7863762 (patch) | |
| tree | aa07be18793f463c56673e101e3282b6217adb77 /src/cli/help.zig | |
| parent | fbe51ff1f5e1cbb040815c95b243f1112866382f (diff) | |
cli: +help needs to use the proper args iterator
Diffstat (limited to 'src/cli/help.zig')
| -rw-r--r-- | src/cli/help.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/help.zig b/src/cli/help.zig index c0db37afe..e9e449550 100644 --- a/src/cli/help.zig +++ b/src/cli/help.zig @@ -23,7 +23,7 @@ pub fn run(alloc: Allocator) !u8 { defer opts.deinit(); { - var iter = try std.process.argsWithAllocator(alloc); + var iter = try args.argsIterator(alloc); defer iter.deinit(); try args.parse(Options, alloc, &opts, &iter); } |
