Skip to content

Commit

Permalink
fix: show "gonic" not version in --help
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed May 11, 2021
1 parent 3382af7 commit 3cf3bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gonic/gonic.go
Expand Up @@ -28,7 +28,7 @@ const (
)

func main() {
set := flag.NewFlagSet(gonic.Version, flag.ExitOnError)
set := flag.NewFlagSet(gonic.Name, flag.ExitOnError)
confListenAddr := set.String("listen-addr", "0.0.0.0:4747", "listen address (optional)")
confMusicPath := set.String("music-path", "", "path to music")
confPodcastPath := set.String("podcast-path", "", "path to podcasts")
Expand Down

0 comments on commit 3cf3bda

Please sign in to comment.