From 2a363ccac62a4b0eaff1c30d6e08e6ec0218f057 Mon Sep 17 00:00:00 2001 From: pyq-lsa <26353308+pyq-lsa@users.noreply.github.com> Date: Sat, 11 Jun 2022 12:49:20 -0700 Subject: [PATCH] punctuation lints --- mapper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mapper.go b/mapper.go index 1b7fa4a..5a476c7 100644 --- a/mapper.go +++ b/mapper.go @@ -445,7 +445,7 @@ func mapDecoder(r *Registry) MapperFunc { t := ctx.Scan.Pop() // If decoding a flag, we need an argument. if t.IsEOL() { - return fmt.Errorf("missing argument: expecting =%c...", mapsep) + return fmt.Errorf("missing argument: expecting \"=%c...\"", mapsep) } switch v := t.Value.(type) { case string: @@ -520,7 +520,7 @@ func sliceDecoder(r *Registry) MapperFunc { t := ctx.Scan.Pop() // If decoding a flag, we need an argument. if t.IsEOL() { - return fmt.Errorf("missing argument: expecting %c...", sep) + return fmt.Errorf("missing argument: expecting \"%c...\"", sep) } switch v := t.Value.(type) { case string: