Compare commits
No commits in common. "fe98c451f01024ef67671199d3308c078c1c33ed" and "c01e23adc3a51e2ef21a2a468394b3fc831197e2" have entirely different histories.
fe98c451f0
...
c01e23adc3
2 changed files with 3 additions and 8 deletions
|
@ -7,11 +7,7 @@ crate-type = ["lib"]
|
|||
[[bin]]
|
||||
name = "xpkey"
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.71"
|
||||
|
|
|
@ -32,8 +32,7 @@ enum Commands {
|
|||
/// Validate a product key
|
||||
Validate(ValidateArgs),
|
||||
/// Generate a phone activation Confirmation ID from an Installation ID
|
||||
#[command(name = "confid")]
|
||||
ConfirmationId(ConfirmationIdArgs),
|
||||
Confid(ConfirmationIdArgs),
|
||||
}
|
||||
|
||||
#[derive(Args, Clone, Debug)]
|
||||
|
@ -116,7 +115,7 @@ fn main() -> Result<()> {
|
|||
args.verbose,
|
||||
)?;
|
||||
}
|
||||
Commands::ConfirmationId(confirmation_id_args) => {
|
||||
Commands::Confid(confirmation_id_args) => {
|
||||
confirmation_id(&confirmation_id_args.instid)?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue