fix(cli): game-neutral --help for --game and --site-url #43

Merged
whitlocktech merged 1 commits from fix/help-neutral-wording into main 2026-10-22 14:47:39 -05:00
Member

--help describes options that apply to both games, but it used Ultima Online's words for them.

What changed (src/cli.rs, help text and two doc comments)

Line Was Now
--game Which game's shard side. Which game this run sets up.
--site-url …for the Admin → Shard (uo-link) link. …for the admin page link it prints at the end.
opening connects a ServUO shard, or Rust servers connects a ServUO server, or Rust servers
closing never starts or stops your shard. never starts or stops your game server.

The old --site-url line was wrong for a Rust run, which links to /admin/rust/servers. The per-game hand-off blocks at the end of a run are unchanged. The ServUO block still says Admin → Shard, because that is that page's real label in module-uo.

docs/ has no copy of these lines, so no docs change is needed.

Found while making the core docs on runicgateway.com game-neutral (runicgateway.com#34).

This merges to main and cuts a release, because releases are cut on every push to main. The only change is help text.

Verification

  • cargo fmt --check and cargo clippy --all-targets -- -D warnings are clean.

  • cargo test: 188 pass, 0 fail.

  • cargo run -- --help prints the new lines.

  • AI-assisted: Claude Code (Claude Opus 5.5)

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

`--help` describes options that apply to both games, but it used Ultima Online's words for them. ## What changed (`src/cli.rs`, help text and two doc comments) | Line | Was | Now | | --- | --- | --- | | `--game` | Which game's shard side. | Which game this run sets up. | | `--site-url` | …for the Admin → Shard (uo-link) link. | …for the admin page link it prints at the end. | | opening | connects a ServUO shard, or Rust servers | connects a ServUO server, or Rust servers | | closing | never starts or stops your shard. | never starts or stops your game server. | The old `--site-url` line was wrong for a Rust run, which links to `/admin/rust/servers`. The per-game hand-off blocks at the end of a run are unchanged. The ServUO block still says Admin → Shard, because that is that page's real label in module-uo. `docs/` has no copy of these lines, so no docs change is needed. Found while making the core docs on runicgateway.com game-neutral (runicgateway.com#34). **This merges to `main` and cuts a release**, because releases are cut on every push to `main`. The only change is help text. ## Verification - `cargo fmt --check` and `cargo clippy --all-targets -- -D warnings` are clean. - `cargo test`: 188 pass, 0 fail. - `cargo run -- --help` prints the new lines. - [x] AI-assisted: Claude Code (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 1 commit 2026-10-22 14:44:17 -05:00
fix(cli): game-neutral --help for --game and --site-url
All checks were successful
PR Checks / rust-gates (pull_request) Successful in 1m50s
6366a44bc4
`--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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech approved these changes 2026-10-22 14:47:32 -05:00
whitlocktech merged commit 736ca0c4c2 into main 2026-10-22 14:47:39 -05:00
whitlocktech deleted branch fix/help-neutral-wording 2026-10-22 14:47:40 -05:00
Sign in to join this conversation.
No description provided.