Skip to content

Commit

Permalink
[nextest] rename list-tests to list
Browse files Browse the repository at this point in the history
Use a similar verb format to "cargo nextest run".
  • Loading branch information
sunshowers committed Dec 20, 2021
1 parent 001edfb commit 9013edb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nextest/cargo-nextest/src/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl ConfigOpts {
#[derive(Debug, StructOpt)]
pub enum Command {
/// List tests in binary
ListTests {
List {
/// Output format
#[structopt(short = "T", long, default_value, possible_values = OutputFormat::variants(), case_insensitive = true)]
format: OutputFormat,
Expand Down Expand Up @@ -138,7 +138,7 @@ impl Opts {
};

match self.command {
Command::ListTests {
Command::List {
build_filter,
format,
} => {
Expand Down

0 comments on commit 9013edb

Please sign in to comment.