From 2047675b8fb6160c2cf32574bb7706a877c85765 Mon Sep 17 00:00:00 2001 From: Robert Laszczak Date: Mon, 14 May 2018 15:53:21 +0200 Subject: [PATCH] bugfix --- flag.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flag.go b/flag.go index 472c609..50fd113 100644 --- a/flag.go +++ b/flag.go @@ -1,11 +1,13 @@ package main -import "fmt" +import ( + "strings" +) type sliceFlag []string func (s *sliceFlag) String() string { - return fmt.Sprintf("%s", s) + return strings.Join(*s, ",") } func (s *sliceFlag) Set(v string) error {