Skip to content

Commit 40b641b

Browse files
authored
Merge pull request #1195 from Kobzol/download-crate-label
Rename download command argument to crate
2 parents a77fce4 + 6487868 commit 40b641b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

collector/src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,11 @@ enum DownloadSubcommand {
877877
/// Download a crate from a git repository.
878878
Git { url: String },
879879
/// Download a crate from crates.io.
880-
Crate { krate: String, version: String },
880+
Crate {
881+
#[clap(name = "CRATE")]
882+
krate: String,
883+
version: String,
884+
},
881885
}
882886

883887
fn main_result() -> anyhow::Result<i32> {

0 commit comments

Comments
 (0)