Skip to content

Commit

Permalink
flagx: Fix string slice method naming
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 14, 2018
1 parent a17baa3 commit 623d699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flagx/flagx.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func MustGetDuration(cmd *cobra.Command, name string) time.Duration {
return d
}

func MustGetGetStringSlice(cmd *cobra.Command, name string) []string {
func MustGetStringSlice(cmd *cobra.Command, name string) []string {
ss, err := cmd.Flags().GetStringSlice(name)
if err != nil {
cmdx.Fatalf(err.Error())
Expand Down

0 comments on commit 623d699

Please sign in to comment.