Printing directory server on start
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ fn main() {
|
||||
Arg::with_name("directory")
|
||||
.long("directory")
|
||||
.help("Address of the directory server the node is sending presence and metrics to")
|
||||
.takes_value(false),
|
||||
.takes_value(true),
|
||||
),
|
||||
)
|
||||
.get_matches();
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ pub fn start(matches: &ArgMatches) {
|
||||
|
||||
let config = new_config(matches);
|
||||
println!("Public key: {}", config.public_key_string());
|
||||
|
||||
println!("Directory server: {}", config.directory_server);
|
||||
println!(
|
||||
"Listening for incoming packets on {}",
|
||||
config.socket_address
|
||||
|
||||
Reference in New Issue
Block a user