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]]
|
[[bin]]
|
||||||
name = "xpkey"
|
name = "xpkey"
|
||||||
|
|
||||||
[profile.release]
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
strip = true
|
|
||||||
opt-level = "z"
|
|
||||||
lto = true
|
|
||||||
codegen-units = 1
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.71"
|
anyhow = "1.0.71"
|
||||||
|
|
|
@ -32,8 +32,7 @@ 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
|
||||||
#[command(name = "confid")]
|
Confid(ConfirmationIdArgs),
|
||||||
ConfirmationId(ConfirmationIdArgs),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Args, Clone, Debug)]
|
#[derive(Args, Clone, Debug)]
|
||||||
|
@ -116,7 +115,7 @@ fn main() -> Result<()> {
|
||||||
args.verbose,
|
args.verbose,
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
Commands::ConfirmationId(confirmation_id_args) => {
|
Commands::Confid(confirmation_id_args) => {
|
||||||
confirmation_id(&confirmation_id_args.instid)?;
|
confirmation_id(&confirmation_id_args.instid)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue