Skip to content

Commit

Permalink
fix(cmd): use correct default for socket message (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
smlz authored Jul 8, 2021
1 parent 791e316 commit 2addd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&pathfinderAuth, "pathfinder-auth", "Admin Admin", "Pathfinder user pass")
rootCmd.PersistentFlags().BoolVar(&socket, "socket", false, "Enable socket writing")
rootCmd.PersistentFlags().StringVar(&socketPath, "socket-path", "/var/run/liquidsoap/klangbecken.sock", "Path to Klangbecken socket")
rootCmd.PersistentFlags().StringVar(&socketPattern, "socket-pattern", "klangbecken.onair %v\n", "Socket message format as fmt string")
rootCmd.PersistentFlags().StringVar(&socketPattern, "socket-pattern", "klangbecken.on_air %v\n", "Socket message format as fmt string")
rootCmd.PersistentFlags().BoolVar(&debug, "debug", false, "Enable debug logs")
}

Expand Down

0 comments on commit 2addd84

Please sign in to comment.