Refactor port again
This commit is contained in:
@@ -36,7 +36,7 @@ var rootCmd = &cobra.Command{
|
||||
|
||||
func init() {
|
||||
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default: $HOME/.whatshooked/cli.json)")
|
||||
rootCmd.PersistentFlags().StringVar(&serverURL, "server", "", "server URL (default: http://localhost:8025)")
|
||||
rootCmd.PersistentFlags().StringVar(&serverURL, "server", "", "server URL (default: http://localhost:8825)")
|
||||
|
||||
// Add all command groups
|
||||
rootCmd.AddCommand(healthCmd)
|
||||
|
||||
Reference in New Issue
Block a user