Skip to content

Commit 7e3906e

Browse files
author
rain
committed
docs: address Unreal generate usage review
1 parent 0ee1529 commit 7e3906e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

crates/cli/src/subcommands/generate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ fn get_filtered_generate_configs<'a>(
168168
pub fn cli() -> clap::Command {
169169
clap::Command::new("generate")
170170
.about("Generate client files for a spacetime module.")
171-
.override_usage("generate [DATABASE] --lang <LANG> [--out-dir <DIR> | --uproject-dir <DIR>] [--module-path <DIR> | --bin-path <PATH> | --js-path <PATH>] [OPTIONS]")
171+
.override_usage("generate [DATABASE] --lang <LANG> [--module-path <DIR> | --bin-path <PATH> | --js-path <PATH>] [--out-dir <DIR> | --uproject-dir <DIR>] [--unreal-module-name <MODULE_NAME>] [OPTIONS]")
172172
.arg(
173173
Arg::new("database")
174174
.help("Database name or glob pattern to filter which databases to generate for"),

docs/docs/00300-resources/00200-reference/00100-cli-reference/00100-cli-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ Run `spacetime rename --help` for more detailed information.
318318

319319
Generate client files for a spacetime module.
320320

321-
**Usage:** `spacetime generate [DATABASE] --lang <LANG> [--out-dir <DIR> | --uproject-dir <DIR>] [--module-path <DIR> | --bin-path <PATH> | --js-path <PATH>] [OPTIONS]`
321+
**Usage:** `spacetime generate [DATABASE] --lang <LANG> [--module-path <DIR> | --bin-path <PATH> | --js-path <PATH>] [--out-dir <DIR> | --uproject-dir <DIR>] [--unreal-module-name <MODULE_NAME>] [OPTIONS]`
322322

323323
Run `spacetime help generate` for more detailed information.
324324

0 commit comments

Comments
 (0)