File tree 2 files changed +5
-5
lines changed
libs/cli/src/main/java/org/elasticsearch/cli
server/src/main/java/org/elasticsearch/bootstrap
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 {
43
43
/** The option parser for this command. */
44
44
protected final OptionParser parser = new OptionParser ();
45
45
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" );
48
48
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 );
50
50
51
51
/**
52
52
* 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 {
52
52
53
53
// visible for testing
54
54
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
56
56
versionOption = parser .acceptsAll (Arrays .asList ("V" , "version" ),
57
- "Prints elasticsearch version information and exits" );
57
+ "Prints Elasticsearch version information and exits" );
58
58
daemonizeOption = parser .acceptsAll (Arrays .asList ("d" , "daemonize" ),
59
59
"Starts Elasticsearch in the background" )
60
60
.availableUnless (versionOption );
You can’t perform that action at this time.
0 commit comments