We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cratesfyi queue add foobar 0.1.0 --priority -10
1 parent 9120a37 commit c0bf243Copy full SHA for c0bf243
src/bin/cratesfyi.rs
@@ -201,7 +201,8 @@ enum QueueSubcommand {
201
name = "BUILD_PRIORITY",
202
short = 'p',
203
long = "priority",
204
- default_value = "5"
+ default_value = "5",
205
+ allow_negative_numbers = true
206
)]
207
build_priority: i32,
208
},
@@ -249,6 +250,7 @@ enum PrioritySubcommand {
249
250
#[arg(name = "PATTERN")]
251
pattern: String,
252
/// The priority to give crates matching the given `PATTERN`
253
+ #[arg(allow_negative_numbers = true)]
254
priority: i32,
255
256
0 commit comments