diff --git a/cmd/root.go b/cmd/root.go index 83771e292c0e004ed2c9e3ca6db1a1160fa7cc58..7f59a48dbe3136d7f12e1cd19f1ac07631cffa5c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -49,6 +49,7 @@ var registrationCertPath string var registrationAddr string var registrationCode string var userEmail string +var userNick string var end2end bool var keyParams []string var client *api.Client @@ -506,9 +507,14 @@ func init() { rootCmd.PersistentFlags().StringVarP(&userEmail, "email", "E", - "", + "default@default.com", "Email to register for User Discovery") + rootCmd.PersistentFlags().StringVar(&userNick, + "nick", + "Default", + "Nickname to register for User Discovery") + rootCmd.PersistentFlags().StringVarP(&sessionFile, "sessionfile", "f", "", "Passes a file path for loading a session. "+ "If the file doesn't exist the code will register the user and"+