diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2024-10-17 07:32:54 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2024-10-18 08:11:11 -0700 |
| commit | f24098cbd8e757e2f73cd1ab07b46b5b4f85374d (patch) | |
| tree | fb23b816f9478bb621e5076eb551ac657918f590 /src/cli/args.zig | |
| parent | a4e14631ef6eb57382ff3c15134d90617c8fd264 (diff) | |
config: show filepath and line numbers for config errors
Fixes #1063
Diffstat (limited to 'src/cli/args.zig')
| -rw-r--r-- | src/cli/args.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/args.zig b/src/cli/args.zig index c5355251e..b1fa9104d 100644 --- a/src/cli/args.zig +++ b/src/cli/args.zig @@ -961,7 +961,7 @@ pub fn LineIterator(comptime ReaderType: type) type { } // Constructs a LineIterator (see docs for that). -pub fn lineIterator(reader: anytype) LineIterator(@TypeOf(reader)) { +fn lineIterator(reader: anytype) LineIterator(@TypeOf(reader)) { return .{ .r = reader }; } |
