Skip to content

Commit 74ff55d

Browse files
committed
chore: rename InitType to InitCmd
1 parent c623c31 commit 74ff55d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

rust/patchable/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)