fix: respect --p2p-secret-key argument (#2552)

This commit is contained in:
Matthias Seitz
2023-05-04 19:54:01 +02:00
committed by GitHub
parent 209911c10c
commit 91d4c890de
6 changed files with 53 additions and 27 deletions

View File

@ -54,7 +54,7 @@ pub struct Command {
/// Secret key to use for this node.
///
/// This also will deterministically set the peer ID.
#[arg(long, value_name = "PATH", global = true, required = false)]
#[arg(long, value_name = "PATH")]
p2p_secret_key: Option<PathBuf>,
/// Disable the discovery service.