Just installed elasticsearch 1.7.2 on windows.
elasticsearch --cluster.name my_cluster_name
Unrecognized option: --cluster.name Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
It's copy and paste from the documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html
It seems that the parameter is passed to the VM and not the elasticsearch. What's wrong? Documentation?