Skip to content

Commit 9fe2e23

Browse files
updated CLI help message
1 parent 2cb3d9b commit 9fe2e23

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

crates/cli/src/main.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ pub(crate) struct CliOptions {
2626
#[clap(long, default_value="127.0.0.1", display_order=0)]
2727
ip: String,
2828

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

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

0 commit comments

Comments
 (0)