Skip to content

Commit

Permalink
CLI - Add helptext for --build-options (#1853)
Browse files Browse the repository at this point in the history
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
  • Loading branch information
2 people authored and lcodes committed Oct 25, 2024
1 parent 90f942e commit cbca9ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/generate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub fn cli() -> clap::Command {
.alias("build-opts")
.action(Set)
.default_value("")
.help("Options to pass to the build command"),
.help("Options to pass to the build command, for example --build-options='--skip-println-checks'"),
)
.arg(common_args::yes())
.after_help("Run `spacetime help publish` for more detailed information.")
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub fn cli() -> clap::Command {
.alias("build-opts")
.action(Set)
.default_value("")
.help("Options to pass to the build command")
.help("Options to pass to the build command, for example --build-options='--skip-println-checks'")
)
.arg(
Arg::new("project_path")
Expand Down

0 comments on commit cbca9ef

Please sign in to comment.