Skip to content
Snippets Groups Projects
Commit 908981ea authored by Jono's avatar Jono
Browse files

Update README

parent 6f2257a7
Branches
Tags
No related merge requests found
......@@ -56,6 +56,11 @@ Optional args:
|--dummyfrequency| |How often dummy messages should be sent per second. This flag is likely to be replaced when we implement better dummy message sending.|--dummyfrequency 0.5|
|--end2end| |Send messages with E2E encryption to destination user|--end2end|
|--keyParams| |Set E2E key generation parameters. Pass values in comma separated list, with the following order: MinKeys,MaxKeys,NumRekeys,TTLScalar,MinNumKeys|--keyParams 100,200,32,1.2,50|
|--ndfPubKey|-p|Path to the public key for the network definition JSON file|
|--ndf|-n|Path to the network definition JSON file|
|--ndfVerifySignature| |Specifies if the NDF should be loaded without the signature|
|--ndfRegistration| |Overwrite the Registration values for the NDF|
|--ndfUDB| |Overwrite the UDB values for the NDF|
##Project Structure
......
......@@ -506,18 +506,18 @@ func init() {
" store it there. If not passed the session will be stored"+
" to ram and lost when the cli finishes")
rootCmd.PersistentFlags().StringVarP(&ndfPath,
"ndf",
"n",
"ndf.json",
"Path to the network definition JSON file")
rootCmd.PersistentFlags().StringVarP(&ndfPubKey,
"ndfPubKey",
"p",
"",
"Path to the public key for the network definition JSON file")
rootCmd.PersistentFlags().StringVarP(&ndfPath,
"ndf",
"n",
"ndf.json",
"Path to the network definition JSON file")
rootCmd.PersistentFlags().BoolVar(&ndfVerifySignature,
"ndfVerifySignature",
true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment