diff options
Diffstat (limited to 'cmd/cmd.go')
| -rw-r--r-- | cmd/cmd.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,11 +24,11 @@ var ( } serverCmd = &cobra.Command{ - Use: "server", + Use: "serve", Short: "Run stream server", Long: `Run the stream server.`, Run: func(cmd *cobra.Command, args []string) { - server.runServers() + server.RunServers() }, } @@ -58,7 +58,7 @@ func init() { //rootCmd.AddCommand(addCmd) rootCmd.AddCommand(versionCmd) - //rootCmd.AddCommand(serverCmd) + rootCmd.AddCommand(serverCmd) } func er(msg interface{}) { |
