mixnode: added announce-host and announce-port arguments

This commit is contained in:
Jedrzej Stuczynski
2020-01-17 11:59:59 +00:00
parent 4cc7fc309b
commit 1769fa8a5a
4 changed files with 27 additions and 1 deletions
+12
View File
@@ -32,6 +32,18 @@ fn main() {
.takes_value(true)
.required(true),
)
.arg(
Arg::with_name("announce_host")
.long("announce-host")
.help("The host that will be reported to the directory server")
.takes_value(true)
)
.arg(
Arg::with_name("announce_port")
.long("announce-port")
.help("The port that will be reported to the directory server")
.takes_value(true)
)
.arg(
Arg::with_name("directory")
.long("directory")