Browse Source

Order of command line flags

specifying the order required for cli -Des notation arguments
Antonio Bonuccelli 10 năm trước cách đây
mục cha
commit
8da0f89739
1 tập tin đã thay đổi với 19 bổ sung0 xóa
  1. 19 0
      docs/reference/migration/migrate_2_0/settings.asciidoc

+ 19 - 0
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