Skip to content

Commit c276522

Browse files
author
Joshua Nelson
committed
Revert "Don`t check for deleted CRATE_VERSION"
This reverts commit dbbb5a1.
1 parent dbbb5a1 commit c276522

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bin/cratesfyi.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,11 @@ enum BuildSubcommand {
262262
crate_version: Option<String>,
263263

264264
/// Build a crate at a specific path
265-
#[structopt(short = "l", long = "local", conflicts_with_all(&["CRATE_NAME", "CRATE_VERSION"]))]
265+
#[structopt(
266+
short = "l",
267+
long = "local",
268+
conflicts_with_all(&["CRATE_NAME", "CRATE_VERSION", "CRATE_REGISTRY"])
269+
)]
266270
local: Option<PathBuf>,
267271
},
268272

0 commit comments

Comments
 (0)