Skip to content

Commit

Permalink
Add --port option
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Feb 12, 2024
1 parent e8ac6d1 commit fa28d58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf>,

/// 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<u16>,
}

impl RunArgs {
Expand Down

0 comments on commit fa28d58

Please sign in to comment.