Use name for confid
This commit is contained in:
parent
53bbc022a3
commit
fe98c451f0
1 changed files with 3 additions and 2 deletions
|
@ -32,7 +32,8 @@ enum Commands {
|
||||||
/// Validate a product key
|
/// Validate a product key
|
||||||
Validate(ValidateArgs),
|
Validate(ValidateArgs),
|
||||||
/// Generate a phone activation Confirmation ID from an Installation ID
|
/// Generate a phone activation Confirmation ID from an Installation ID
|
||||||
Confid(ConfirmationIdArgs),
|
#[command(name = "confid")]
|
||||||
|
ConfirmationId(ConfirmationIdArgs),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Args, Clone, Debug)]
|
#[derive(Args, Clone, Debug)]
|
||||||
|
@ -115,7 +116,7 @@ fn main() -> Result<()> {
|
||||||
args.verbose,
|
args.verbose,
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
Commands::Confid(confirmation_id_args) => {
|
Commands::ConfirmationId(confirmation_id_args) => {
|
||||||
confirmation_id(&confirmation_id_args.instid)?;
|
confirmation_id(&confirmation_id_args.instid)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue