You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this is already applicable to current develop branch, it is mostly concerning #config_files branch. If new arguments were to be added, it's relatively easy to accidentally make a typo in one but not the other.
So say the following:
.arg(Arg::with_name("host").long("host").help("The custom host on which the mixnode will be running").takes_value(true).required(true),)
...
ifletSome(host) = matches.value_of("host"){
config = config.with_listening_host(host);}
should be change to something like
constHOST_ARGUMENT_NAME:&'staticstr: "host";
....arg(Arg::with_name("host").long(HOST_ARGUMENT_NAME).help("The custom host on which the mixnode will be running").takes_value(true).required(true),)
...
ifletSome(host) = matches.value_of(HOST_ARGUMENT_NAME){
config = config.with_listening_host(host);}
The text was updated successfully, but these errors were encountered:
While this is already applicable to current develop branch, it is mostly concerning #config_files branch. If new arguments were to be added, it's relatively easy to accidentally make a typo in one but not the other.
So say the following:
should be change to something like
The text was updated successfully, but these errors were encountered: