From fa28d58d63e57437e70b71a355aa3e3e55e6d0e0 Mon Sep 17 00:00:00 2001 From: Takeru Ohta Date: Mon, 12 Feb 2024 21:08:17 +0900 Subject: [PATCH] Add --port option --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 4b7f82c..db99965 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,6 +31,12 @@ pub struct RunArgs { /// If specified, the collected metrics will be recorded to the given file and can be replayed later. #[clap(long, value_name = "FILE")] pub record: Option, + + /// Port number on which the target node listens. + /// + /// If specified, `erldash` will connect directly to the node without using EPMD. + #[clap(long, short)] + pub port: Option, } impl RunArgs {