summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2024-10-17 07:32:54 -0700
committerMitchell Hashimoto <m@mitchellh.com>2024-10-18 08:11:11 -0700
commitf24098cbd8e757e2f73cd1ab07b46b5b4f85374d (patch)
treefb23b816f9478bb621e5076eb551ac657918f590 /src/cli
parenta4e14631ef6eb57382ff3c15134d90617c8fd264 (diff)
config: show filepath and line numbers for config errors
Fixes #1063
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/args.zig2
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 };
}