diff --git a/src/cmd_ageaddress.rs b/src/cmd_pgpageaddress.rs similarity index 97% rename from src/cmd_ageaddress.rs rename to src/cmd_pgpageaddress.rs index a256f06..48d91c2 100644 --- a/src/cmd_ageaddress.rs +++ b/src/cmd_pgpageaddress.rs @@ -11,7 +11,7 @@ const AGE_PUBLIC_KEY_PREFIX: &str = "age"; pub struct CommandImpl; impl Command for CommandImpl { - fn name(&self) -> &str { "age-address" } + fn name(&self) -> &str { "pgp-age-address" } fn subcommand<'a>(&self) -> App<'a, 'a> { SubCommand::with_name(self.name()).about("OpenPGP Card Encryption key to age address") diff --git a/src/main.rs b/src/main.rs index f69c831..0a38096 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ mod cmd_pivgenerate; mod cmd_chall; mod cmd_challconfig; mod cmd_sshagent; -mod cmd_ageaddress; +mod cmd_pgpageaddress; pub struct DefaultCommandImpl; @@ -86,7 +86,7 @@ fn inner_main() -> CommandError { Box::new(cmd_u2fregister::CommandImpl), Box::new(cmd_u2fsign::CommandImpl), Box::new(cmd_sshagent::CommandImpl), - Box::new(cmd_ageaddress::CommandImpl), + Box::new(cmd_pgpageaddress::CommandImpl), ]; let mut app = App::new(env!("CARGO_PKG_NAME")) .version(env!("CARGO_PKG_VERSION"))