소스 검색

Add short `p` option for `package` to match `cargo` (#2738)

* Add short package CLI option
Matt Hunzinger 11 달 전
부모
커밋
e12acb417e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/cli/src/cli/build.rs

+ 1 - 1
packages/cli/src/cli/build.rs

@@ -21,7 +21,7 @@ pub struct TargetArgs {
     pub bin: Option<String>,
 
     /// The package to build
-    #[clap(long)]
+    #[clap(short, long)]
     pub package: Option<String>,
 
     /// Space separated list of features to activate