Removing newline

This commit is contained in:
Jason Fulghum
2022-11-30 10:29:33 -08:00
committed by GitHub
parent a3d471612e
commit 6f3f182296
-1
View File
@@ -226,7 +226,6 @@ func (ap *ArgParser) sortedValueOptions() []string {
}
func (ap *ArgParser) matchValueOption(arg string, isLongFormFlag bool) (match *Option, value *string) {
for _, on := range ap.sortedValueOptions() {
lo := len(on)
isMatch := len(arg) >= lo && arg[:lo] == on