From d8a060d0dfd99310ff44108148957cace84f5a52 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Sat, 27 Aug 2022 13:38:50 +0200 Subject: [PATCH] Fix typo --- .../src/main/java/pgp/cert_d/cli/commands/Get.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pgpainless-cert-d-cli/src/main/java/pgp/cert_d/cli/commands/Get.java b/pgpainless-cert-d-cli/src/main/java/pgp/cert_d/cli/commands/Get.java index b06361d..3a998e8 100644 --- a/pgpainless-cert-d-cli/src/main/java/pgp/cert_d/cli/commands/Get.java +++ b/pgpainless-cert-d-cli/src/main/java/pgp/cert_d/cli/commands/Get.java @@ -34,16 +34,16 @@ public class Get implements Runnable { paramLabel = "IDENTIFIER", arity = "1" ) - String identifer; + String identifier; @Override public void run() { try { KeyMaterial record; - if (SpecialNames.lookupSpecialName(identifer) != null) { - record = PGPCertDCli.getCertificateDirectory().getBySpecialName(identifer); + if (SpecialNames.lookupSpecialName(identifier) != null) { + record = PGPCertDCli.getCertificateDirectory().getBySpecialName(identifier); } else { - record = PGPCertDCli.getCertificateDirectory().getByFingerprint(identifer.toLowerCase()); + record = PGPCertDCli.getCertificateDirectory().getByFingerprint(identifier.toLowerCase()); } if (record == null) { return;