File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
libs/cli/src/main/java/org/elasticsearch/cli
server/src/main/java/org/elasticsearch/bootstrap Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ public abstract class Command implements Closeable {
4343 /** The option parser for this command. */
4444 protected final OptionParser parser = new OptionParser ();
4545
46- private final OptionSpec <Void > helpOption = parser .acceptsAll (Arrays .asList ("h" , "help" ), "show help" ).forHelp ();
47- private final OptionSpec <Void > silentOption = parser .acceptsAll (Arrays .asList ("s" , "silent" ), "show minimal output" );
46+ private final OptionSpec <Void > helpOption = parser .acceptsAll (Arrays .asList ("h" , "help" ), "Show help" ).forHelp ();
47+ private final OptionSpec <Void > silentOption = parser .acceptsAll (Arrays .asList ("s" , "silent" ), "Show minimal output" );
4848 private final OptionSpec <Void > verboseOption =
49- parser .acceptsAll (Arrays .asList ("v" , "verbose" ), "show verbose output" ).availableUnless (silentOption );
49+ parser .acceptsAll (Arrays .asList ("v" , "verbose" ), "Show verbose output" ).availableUnless (silentOption );
5050
5151 /**
5252 * Construct the command with the specified command description and runnable to execute before main is invoked.
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ class Elasticsearch extends EnvironmentAwareCommand {
5252
5353 // visible for testing
5454 Elasticsearch () {
55- super ("starts elasticsearch " , () -> {}); // we configure logging later so we override the base class from configuring logging
55+ super ("Starts Elasticsearch " , () -> {}); // we configure logging later so we override the base class from configuring logging
5656 versionOption = parser .acceptsAll (Arrays .asList ("V" , "version" ),
57- "Prints elasticsearch version information and exits" );
57+ "Prints Elasticsearch version information and exits" );
5858 daemonizeOption = parser .acceptsAll (Arrays .asList ("d" , "daemonize" ),
5959 "Starts Elasticsearch in the background" )
6060 .availableUnless (versionOption );
You can’t perform that action at this time.
0 commit comments