Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Laszczak committed May 14, 2018
1 parent 44674c3 commit 2047675
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flag.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 2047675

Please sign in to comment.