From 6d107e80bf7303d24b118fd6af9170e5a13ed672 Mon Sep 17 00:00:00 2001 From: Eric Greer Date: Sat, 18 Jan 2020 12:27:44 -0800 Subject: [PATCH] debug output tweaks --- parser.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parser.go b/parser.go index dffcf24..6c9f090 100644 --- a/parser.go +++ b/parser.go @@ -104,12 +104,12 @@ func findArgsNotInParsedValues(args []string, parsedValues []parsedValue) []stri arg := parseFlagToName(a) // skip args that start with 'test.' because they are injected with go test - debugPrint("flagsNotParsed: checking arg:", arg) + debugPrint("flagsNotParsed: checking arg for test prefix:", arg) if strings.HasPrefix(a, "test.") { - debugPrint("skipping test. prefixed arg named:", arg) + debugPrint("skipping test. prefixed arg has test prefix:", arg) continue } - debugPrint("flagsNotParsed: flag is unused:", arg) + debugPrint("flagsNotParsed: flag is not a .test flag:", arg) // indicates that we found this arg used in one of the parsed values. Used // to indicate which values should be added to argsNotUsed.