File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ enum Cmd {
184184 /// Creates patchable.toml configuration files
185185 Init {
186186 #[ clap( subcommand) ]
187- init_type : InitType ,
187+ init_type : InitCmd ,
188188 } ,
189189
190190 /// Shows the patch directory for a given product version
@@ -206,7 +206,7 @@ enum Cmd {
206206}
207207
208208#[ derive( clap:: Parser ) ]
209- enum InitType {
209+ enum InitCmd {
210210 /// Creates a patchable.toml for a given product
211211 Product {
212212 /// The product name slug (such as druid)
@@ -498,7 +498,7 @@ fn main() -> Result<()> {
498498
499499 Cmd :: Init {
500500 init_type :
501- InitType :: Product {
501+ InitCmd :: Product {
502502 product,
503503 upstream,
504504 default_mirror,
@@ -546,7 +546,7 @@ fn main() -> Result<()> {
546546
547547 Cmd :: Init {
548548 init_type :
549- InitType :: Version {
549+ InitCmd :: Version {
550550 pv,
551551 base,
552552 mirror,
You can’t perform that action at this time.
0 commit comments