Drop nested list variable in command
The enum variant is the value this code-path requires. The inner bool doesn't do anything, so it can go away.
This commit is contained in:
@@ -14,8 +14,5 @@ pub struct Args {
|
||||
|
||||
#[derive(Subcommand, Debug)]
|
||||
pub enum Commands {
|
||||
ListReleases {
|
||||
#[arg(short, long)]
|
||||
list: bool,
|
||||
},
|
||||
ListReleases,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user