Skip to content

Commit

Permalink
Merge pull request #1900 from Andrew15-5/add-short-release-option
Browse files Browse the repository at this point in the history
feat(cli): added short `release` build option
  • Loading branch information
ealmloff authored Feb 5, 2024
2 parents a3d6e9d + 009238b commit cb9a435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/cli/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use super::*;
#[derive(Clone, Debug, Default, Deserialize, Parser)]
pub struct ConfigOptsBuild {
/// Build in release mode [default: false]
#[clap(long)]
#[clap(long, short)]
#[serde(default)]
pub release: bool,

Expand Down Expand Up @@ -159,7 +159,7 @@ pub struct ConfigOptsServe {
#[derive(Clone, Debug, Default, Deserialize, Parser)]
pub struct ConfigOptsBundle {
/// Build in release mode [default: false]
#[clap(long)]
#[clap(long, short)]
#[serde(default)]
pub release: bool,

Expand Down

0 comments on commit cb9a435

Please sign in to comment.