From 9e458d84b0b05caad009efa9902aac85ecf00c8d Mon Sep 17 00:00:00 2001 From: "Benjamin S. Allen" Date: Sun, 15 Dec 2019 20:50:06 -0600 Subject: [PATCH] Update flaggy dep --- vendor/github.com/integrii/flaggy/flag.go | 3 ++- vendor/github.com/integrii/flaggy/go.mod | 2 ++ vendor/modules.txt | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/vendor/github.com/integrii/flaggy/flag.go b/vendor/github.com/integrii/flaggy/flag.go index 2adb503..409ddf9 100644 --- a/vendor/github.com/integrii/flaggy/flag.go +++ b/vendor/github.com/integrii/flaggy/flag.go @@ -62,7 +62,8 @@ func (f *Flag) identifyAndAssignValue(value string) error { *v = value case *[]string: v := f.AssignmentVar.(*[]string) - new := append(*v, value) + splitString := strings.Split(value, ",") + new := append(*v, splitString...) *v = new case *bool: v, err := strconv.ParseBool(value) diff --git a/vendor/github.com/integrii/flaggy/go.mod b/vendor/github.com/integrii/flaggy/go.mod index 0fba0ab..5f87729 100644 --- a/vendor/github.com/integrii/flaggy/go.mod +++ b/vendor/github.com/integrii/flaggy/go.mod @@ -1 +1,3 @@ module github.com/integrii/flaggy + +go 1.12 diff --git a/vendor/modules.txt b/vendor/modules.txt index e33e970..56ade27 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,6 +1,6 @@ # github.com/BurntSushi/toml v0.3.1 github.com/BurntSushi/toml -# github.com/integrii/flaggy v1.2.0 +# github.com/integrii/flaggy v1.2.1-0.20190517180110-07ea7eb77404 github.com/integrii/flaggy # github.com/kr/pretty v0.1.0 github.com/kr/pretty