diff --git a/README.md b/README.md index 2ce85fa..f21f1bf 100644 --- a/README.md +++ b/README.md @@ -110,8 +110,8 @@ The rule is deliberately narrow, so nothing that used to work changed meaning: still opens the GUI. **Unknown subcommands are an error, not a GUI launch**: `unlucky-launcher lst` prints -"未知命令 `lst`", hints `ull --help`, and exits 1. Silently opening a window would tell a script -that its typo took effect. The subcommand table itself lives in exactly one place — +"未知命令 `lst`", hints `unlucky-launcher --help`, and exits 1. Silently opening a window would tell +a script that its typo took effect. The subcommand table itself lives in exactly one place — `crates/cli/src/cli/parse.rs` — so both GUI binaries and `ull` accept the same set by construction. ## Module map diff --git a/README.zh-CN.md b/README.zh-CN.md index 6f4298d..64c5959 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -97,9 +97,9 @@ unlucky-launcher --version # CLI,输出版本 + 系统摘要 仍然开 GUI;GUI 专属参数(`--software-renderer`、`--screenshot*`、`--renderer`、`--theme`、 `--diff`、`--force-state` 等)在 CLI 里一律解析失败,也仍然开 GUI。 -**未知子命令是错误,不是开窗**:`unlucky-launcher lst` 打印「未知命令 `lst`」、提示 `ull --help`, -以 1 退出。静默开窗会让脚本以为自己那个拼错的参数生效了。子命令表只有一处定义 -(`crates/cli/src/cli/parse.rs`),所以两个 GUI 二进制和 `ull` 认的命令集天然一致。 +**未知子命令是错误,不是开窗**:`unlucky-launcher lst` 打印「未知命令 `lst`」、提示 +`unlucky-launcher --help`,以 1 退出。静默开窗会让脚本以为自己那个拼错的参数生效了。子命令表只有 +一处定义(`crates/cli/src/cli/parse.rs`),所以两个 GUI 二进制和 `ull` 认的命令集天然一致。 ## 模块地图