From 6366a44bc4b7ad88b0d50aacfc050f743dea92fc Mon Sep 17 00:00:00 2001 From: wtclaude Date: Thu, 22 Oct 2026 14:43:38 -0500 Subject: [PATCH] fix(cli): game-neutral --help for --game and --site-url MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `--help` describes options that apply to both games, but it used Ultima Online's words for them: - `--game` read "Which game's shard side". It now reads "Which game this run sets up". - `--site-url` named "Admin → Shard (uo-link)", which is the ServUO page. A Rust run links /admin/rust/servers. It now says the link is to the admin page the run prints at the end. - The opening line said "a ServUO shard", and the closing line said "your shard". They now say "a ServUO server" and "your game server". The per-game hand-off blocks are unchanged. The ServUO hand-off still names Admin → Shard, because that is that page's real label. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY --- src/cli.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index e804b5b..4cf102f 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -56,7 +56,7 @@ pub enum PatchChoice { No, } -/// Which game's shard side this run is about (docs/modules/rust/PLAN.md §34.2.3). ServUO is the +/// Which game this run sets up (docs/modules/rust/PLAN.md §34.2.3). ServUO is the /// default, so every command line written before Rust existed means exactly what it meant. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Game { @@ -94,7 +94,8 @@ pub struct Cli { pub patches_unsupported_servuo: bool, /// `--host `: the hostname to print in the website URLs. pub host: Option, - /// `--site-url `: the site's base URL, for the Admin → Shard (uo-link) link. + /// `--site-url `: the site's base URL, printed as a link to the admin page that takes + /// the values. pub site_url: Option, /// `--yes`: assume the default answer to every prompt. pub assume_yes: bool, @@ -128,7 +129,7 @@ impl Default for Cli { } pub const USAGE: &str = "\ -Runic Gateway installer — connects a ServUO shard, or Rust servers, to a Runic +Runic Gateway installer — connects a ServUO server, or Rust servers, to a Runic Gateway website. Usage: runicgateway-installer [OPTIONS] @@ -144,7 +145,7 @@ Commands: removes only its own plugin file and keeps the plugin config. Options: - --game Which game's shard side. Default servuo. + --game Which game this run sets up. Default servuo. --verify install, update. Dry run: report every change that would be made, write nothing. --servuo install, doctor, update. The ServUO root, @@ -161,7 +162,7 @@ Options: --host install. The hostname to print in the website URLs. --site-url install. Your site's base URL, for the - Admin → Shard (uo-link) link. + admin page link it prints at the end. --yes Assume the default answer to every prompt. On uninstall it means yes: that prompt defaults to no, and typing `uninstall @@ -194,7 +195,7 @@ Environment: set it. The installer never contacts your website, never deletes anything from your -ServUO tree, and never starts or stops your shard. +ServUO tree, and never starts or stops your game server. "; /// Parses arguments **without** the program name. -- 2.49.1