Skip to content

Commit cd64883

Browse files
committed
Improve display names for actions and fix short name for subcommand
1 parent ac38f7a commit cd64883

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

crates/xtask/src/main.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,12 @@ impl App {
281281
pub(crate) fn into_ci_row(self, os: String) -> CiMatrixRow {
282282
CiMatrixRow {
283283
command: self.clone().into_command_string().into_string().unwrap(),
284-
name: format!("{} - {}", self.subcmd.as_ref(), self.global_args.features),
284+
name: format!(
285+
"{}({}) - {}",
286+
self.subcmd.as_ref(),
287+
os,
288+
self.global_args.features
289+
),
285290
os,
286291
}
287292
}
@@ -393,7 +398,7 @@ enum Xtasks {
393398
package: Option<String>,
394399

395400
/// Run tests without coverage
396-
#[clap(long, short)]
401+
#[clap(long, short = "nc")]
397402
no_coverage: bool,
398403
},
399404
/// Perform a full check as it would be done in CI, except not parallelised

0 commit comments

Comments
 (0)