From 9fe2e23d055aae1410f90d5e0028edbbc7664973 Mon Sep 17 00:00:00 2001 From: SpontanCombust Date: Sat, 3 Aug 2024 19:18:18 +0200 Subject: [PATCH] updated CLI help message --- crates/cli/src/main.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs index b414105..77c9a87 100644 --- a/crates/cli/src/main.rs +++ b/crates/cli/src/main.rs @@ -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.