Skip to content

Commit cb3f9f4

Browse files
author
Mikastiv
committed
updated yank error message
1 parent 2c10f26 commit cb3f9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/registry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ pub fn yank(
801801
};
802802
let version = match version {
803803
Some(v) => v,
804-
None => bail!("a version must be specified to yank"),
804+
None => bail!("a version must be specified to yank (use --vers <VERSION>)"),
805805
};
806806

807807
let (mut registry, _) = registry(config, token, index, reg, true, true)?;

0 commit comments

Comments
 (0)