Browse Source

MINOR: Fix help message for kafka-metadata-shell (#13867)

Reviewers: Ziming Deng dengziming1993@gmail.com
pull/14361/head
tkuramoto33 1 year ago committed by GitHub
parent
commit
37c01e9992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      shell/src/main/java/org/apache/kafka/shell/MetadataShell.java

4
shell/src/main/java/org/apache/kafka/shell/MetadataShell.java

@ -177,9 +177,9 @@ public final class MetadataShell {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
ArgumentParser parser = ArgumentParsers ArgumentParser parser = ArgumentParsers
.newArgumentParser("metadata-tool") .newArgumentParser("kafka-metadata-shell")
.defaultHelp(true) .defaultHelp(true)
.description("The Apache Kafka metadata tool"); .description("The Apache Kafka metadata shell");
parser.addArgument("--snapshot", "-s") parser.addArgument("--snapshot", "-s")
.type(String.class) .type(String.class)
.help("The snapshot file to read."); .help("The snapshot file to read.");

Loading…
Cancel
Save