Skip to content

Commit 73808c5

Browse files
committed
remove short options
1 parent 11784b1 commit 73808c5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

crates/xtask/src/main.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -360,15 +360,13 @@ enum Xtasks {
360360
Check {
361361
#[clap(
362362
long,
363-
short,
364363
default_value = "false",
365364
help = "Run in the expected format for rust-analyzer's override check command"
366365
)]
367366
ide_mode: bool,
368367

369368
#[clap(
370369
long,
371-
short,
372370
default_value = "all",
373371
value_parser=clap::value_parser!(CheckKind),
374372
value_name=CheckKind::to_placeholder(),
@@ -380,21 +378,21 @@ enum Xtasks {
380378
Docs {
381379
/// Open in browser
382380
/// This will open the generated docs in the default browser
383-
#[clap(long, short)]
381+
#[clap(long)]
384382
open: bool,
385383

386384
/// Skip building rust docs
387-
#[clap(long, short)]
385+
#[clap(long)]
388386
no_rust_docs: bool,
389387
},
390388
/// Build the main workspace, and then run all tests
391389
Test {
392390
/// Run tests containing the given name only
393-
#[clap(long, short)]
391+
#[clap(long)]
394392
name: Option<String>,
395393

396394
/// Run tests in the given package only
397-
#[clap(long, short)]
395+
#[clap(long)]
398396
package: Option<String>,
399397

400398
/// Run tests without coverage

0 commit comments

Comments
 (0)