Skip to content

Commit 558435d

Browse files
author
rain
committed
docs: fix generate usage for Unreal bindings
1 parent 60899b1 commit 558435d

2 files changed

Lines changed: 2 additions & 3 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> [--module-path <DIR> | --bin-path <PATH> | --unreal-module-name <MODULE_NAME> | --uproject-dir <DIR> | --include-private]")
171+
.override_usage("generate [DATABASE] --lang <LANG> [--out-dir <DIR> | --uproject-dir <DIR>] [--module-path <DIR> | --bin-path <PATH> | --js-path <PATH>] [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 & 2 deletions
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> [--module-path <DIR> | --bin-path <PATH> | --unreal-module-name <MODULE_NAME> | --uproject-dir <DIR> | --include-private]`
321+
**Usage:** `spacetime generate [DATABASE] --lang <LANG> [--out-dir <DIR> | --uproject-dir <DIR>] [--module-path <DIR> | --bin-path <PATH> | --js-path <PATH>] [OPTIONS]`
322322

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

@@ -659,4 +659,3 @@ Run `spacetime version --help` to see all options.
659659
This document was generated automatically by
660660
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
661661
</i></small>
662-

0 commit comments

Comments
 (0)