Skip to content
Snippets Groups Projects
Commit 080e4672 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

demo fudanet kolloquium

parent 688dd0e1
No related branches found
No related tags found
No related merge requests found
File deleted
...@@ -69,9 +69,9 @@ func init() { ...@@ -69,9 +69,9 @@ func init() {
cobra.OnInitialize(initConfig) cobra.OnInitialize(initConfig)
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.gnmi-demo.yaml)") rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.gnmi-demo.yaml)")
rootCmd.PersistentFlags().StringP("address", "a", "arista.kieweg.dev:6030", "address of the endpiont") rootCmd.PersistentFlags().StringP("address", "a", "", "address of the endpiont")
rootCmd.PersistentFlags().StringP("username", "u", "admin", "username for the user") rootCmd.PersistentFlags().StringP("username", "u", "", "username for the user")
rootCmd.PersistentFlags().StringP("password", "p", "arista", "password of the user") rootCmd.PersistentFlags().StringP("password", "p", "", "password of the user")
} }
// initConfig reads in config file and ENV variables if set. // initConfig reads in config file and ENV variables if set.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment