|
|
|
@ -81,7 +81,7 @@ func init() {
|
|
|
|
|
rootCmd.PersistentFlags().StringVarP(&logWay, "log_way", "", "console", "log way") |
|
|
|
|
rootCmd.PersistentFlags().StringVarP(&logLevel, "log_level", "", "info", "log level") |
|
|
|
|
rootCmd.PersistentFlags().Int64VarP(&logMaxDays, "log_max_days", "", 3, "log_max_days") |
|
|
|
|
rootCmd.PersistentFlags().StringVarP(&token, "token", "", "", "auth token") |
|
|
|
|
rootCmd.PersistentFlags().StringVarP(&token, "token", "t", "", "auth token") |
|
|
|
|
rootCmd.PersistentFlags().Int64VarP(&authTimeout, "auth_timeout", "", 900, "auth timeout") |
|
|
|
|
rootCmd.PersistentFlags().StringVarP(&subDomainHost, "subdomain_host", "", "", "subdomain host") |
|
|
|
|
rootCmd.PersistentFlags().Int64VarP(&maxPortsPerClient, "max_ports_per_client", "", 0, "max ports per client") |
|
|
|
|