From 8da0f897391192d60fe90c31a0af97abbf199615 Mon Sep 17 00:00:00 2001 From: Antonio Bonuccelli Date: Wed, 23 Sep 2015 13:41:26 +0200 Subject: [PATCH] Order of command line flags specifying the order required for cli -Des notation arguments --- .../migration/migrate_2_0/settings.asciidoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/reference/migration/migrate_2_0/settings.asciidoc b/docs/reference/migration/migrate_2_0/settings.asciidoc index f5898a4ea19..6995f49ea0c 100644 --- a/docs/reference/migration/migrate_2_0/settings.asciidoc +++ b/docs/reference/migration/migrate_2_0/settings.asciidoc @@ -1,5 +1,24 @@ === Setting changes +==== Command line flags + +Command line flags using notation `-Des.*` must be now specified as the first arguments. +For example if previously using: + +[source,sh] +--------------- +./elasticsearch --node.name=test_node -Des.path.conf=/opt/elasticsearch/conf/test_node +--------------- + +This will now need to be changed to: + +[source,sh] +--------------- +./elasticsearch -Des.path.conf=/opt/elasticsearch/conf/test_node --node.name=test_node +--------------- + +for the flag to take effect. + [[migration-script-settings]] ==== Scripting settings