From cbca9efd530569b23ad076b7daa018dc0ac7956b Mon Sep 17 00:00:00 2001 From: Zeke Foppa <196249+bfops@users.noreply.github.com> Date: Wed, 16 Oct 2024 09:23:08 -0700 Subject: [PATCH] CLI - Add helptext for `--build-options` (#1853) Co-authored-by: Zeke Foppa --- crates/cli/src/subcommands/generate/mod.rs | 2 +- crates/cli/src/subcommands/publish.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cli/src/subcommands/generate/mod.rs b/crates/cli/src/subcommands/generate/mod.rs index fbd9f62191..f5d6d23252 100644 --- a/crates/cli/src/subcommands/generate/mod.rs +++ b/crates/cli/src/subcommands/generate/mod.rs @@ -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.") diff --git a/crates/cli/src/subcommands/publish.rs b/crates/cli/src/subcommands/publish.rs index d99088724c..529891787f 100644 --- a/crates/cli/src/subcommands/publish.rs +++ b/crates/cli/src/subcommands/publish.rs @@ -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")