OpenSearch/docs
Alexander Reelsen 69d7f1a78a Startup: Remove getopt parsing in shell script, use java CLITool
In order to ensure, we have the same experience across operating systems
and shells, this commit uses the java CLI parser instead of the shell
getopt parsing to parse arguments.

This also allows for support for paths, which contain spaces.

Also commons-cli depdency was upgraded to 1.3.1 and tests have been added.

Changes

* new exit code, OK_AND_EXIT, allowing to tell the caller to exit, as everything
  went as expected (e.g. when running a version output)

BWC breaking:

* execute() returns an ExitStatus instead of an integer, otherwise there is no
  possibility to signal by a command, if the JVM should be exited after a run.
  This affects plugins, that have command line tools
* -v used to be version, but is a verbose flag by default in the current CLI infra,
  must be -V or --version now
* -X has been removed - the current implementation was useless anyway, as
  it prefixed those properties with "es.". You should use
  ES_JAVA_OPTS/JAVA_OPTS for JVM configuration
2015-07-30 13:20:29 +02:00
..
community Add Mongolastic into Misc 2015-07-02 13:05:11 +03:00
groovy-api Docs: Fixed URLs in the Groovy docs 2015-06-19 17:54:57 +02:00
java-api Added an import statement. 2015-07-28 14:19:45 -06:00
perl Docs: Minor test change to Perl docs 2015-02-28 17:19:55 +01:00
plugins PluginManager: Fix bin/plugin calls in scripts/bats test 2015-07-21 16:17:59 +02:00
python Updated copyright years to include 2015 2015-02-28 03:18:45 +01:00
reference Startup: Remove getopt parsing in shell script, use java CLITool 2015-07-30 13:20:29 +02:00
resiliency Discovery: wait on incoming joins before electing local node as master 2015-07-15 07:43:49 +02:00
river Warning in documentation for deprecation of rivers 2015-04-05 20:54:26 +02:00
ruby Docs: Fixed typos 2015-05-05 10:38:05 +02:00
README.asciidoc Docs: Updated docs/README.asciidoc to point to the new docs repo 2015-04-27 08:54:07 +02:00

README.asciidoc

The Elasticsearch docs are in AsciiDoc format and can be built using the Elasticsearch documentation build process

See: https://github.com/elastic/docs