Skip to content
Snippets Groups Projects
Commit 29d71ac1 authored by Jono's avatar Jono
Browse files

add nick command line variable

parent bf2a3986
No related branches found
No related tags found
No related merge requests found
......@@ -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"+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment