Skip to content

Commit

Permalink
updated CLI help message
Browse files Browse the repository at this point in the history
  • Loading branch information
SpontanCombust committed Aug 3, 2024
1 parent 2cb3d9b commit 9fe2e23
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ pub(crate) struct CliOptions {
#[clap(long, default_value="127.0.0.1", display_order=0)]
ip: String,

/// Select connection target
#[clap(long, value_enum, default_value="auto", display_order=1)]
/// Select connection target.
/// - game - connect to the standalone game running with debug arguments,
/// - editor - connect to the game running in the REDkit editor,
/// - auto - try connecting to either the standalone game or one running in REDkit
#[clap(long, value_enum, default_value="auto", display_order=1, verbatim_doc_comment)]
target: ConnectionTarget,

/// The maximum amount of milliseconds that program should wait for the game to respond.
Expand Down

0 comments on commit 9fe2e23

Please sign in to comment.