diff --git a/src/main/java/org/opensearch/security/tools/SecurityAdmin.java b/src/main/java/org/opensearch/security/tools/SecurityAdmin.java index 6080224c36..df9b004d15 100644 --- a/src/main/java/org/opensearch/security/tools/SecurityAdmin.java +++ b/src/main/java/org/opensearch/security/tools/SecurityAdmin.java @@ -204,7 +204,7 @@ public static int execute(final String[] args) throws Exception { .longOpt("truststore-type") .hasArg() .argName("type") - .desc("JKS or PKCS12, if not given we use the file extension to dectect the type") + .desc("JKS or PKCS12, if not given we use the file extension to detect the type") .build() ); options.addOption( @@ -212,7 +212,7 @@ public static int execute(final String[] args) throws Exception { .longOpt("keystore-type") .hasArg() .argName("type") - .desc("JKS or PKCS12, if not given we use the file extension to dectect the type") + .desc("JKS or PKCS12, if not given we use the file extension to detect the type") .build() ); // CS-ENFORCE-SINGLE