Kaynağa Gözat

fix(cli.rs): `--release` flag for the dev command, closes #3324 (#3348)

Lucas Fernandes Nogueira 3 yıl önce
ebeveyn
işleme
3d92f4c272
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      tooling/cli.rs/src/dev.rs

+ 1 - 1
tooling/cli.rs/src/dev.rs

@@ -52,7 +52,7 @@ pub struct Options {
   #[clap(short, long)]
   config: Option<String>,
   /// Run the code in release mode
-  #[clap(short, long)]
+  #[clap(long = "release")]
   release_mode: bool,
   /// Args passed to the binary
   args: Vec<String>,