From 376c051a1483f4f78c9f14b723084a260c7d6f72 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Mon, 1 Apr 2019 09:59:36 -0400 Subject: [PATCH 1/2] [DOCS] Remind users to include @ symbol when applying license file --- docs/reference/licensing/update-license.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/licensing/update-license.asciidoc b/docs/reference/licensing/update-license.asciidoc index 81d80509252f4..432d8a344ea20 100644 --- a/docs/reference/licensing/update-license.asciidoc +++ b/docs/reference/licensing/update-license.asciidoc @@ -79,16 +79,16 @@ POST /_license NOTE: These values are invalid; you must substitute the appropriate content from your license file. -You can alternatively use a `curl` command, for example: +You can also install your license file using a `curl` command. Be sure to add +`@` before the license path. -[source,js] [source,shell] ------------------------------------------------------------ curl -XPUT -u 'http://:/_license' -H "Content-Type: application/json" -d @license.json ------------------------------------------------------------ // NOTCONSOLE -On Windows machine, use the following command: +On Windows, use the following command: [source,shell] ------------------------------------------------------------ From 4669cf536d7cdbbce48d75284190095a03c110ae Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Mon, 1 Apr 2019 10:25:12 -0400 Subject: [PATCH 2/2] Update docs/reference/licensing/update-license.asciidoc Co-Authored-By: jrodewig --- docs/reference/licensing/update-license.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/licensing/update-license.asciidoc b/docs/reference/licensing/update-license.asciidoc index 432d8a344ea20..04798c03947ba 100644 --- a/docs/reference/licensing/update-license.asciidoc +++ b/docs/reference/licensing/update-license.asciidoc @@ -80,7 +80,7 @@ NOTE: These values are invalid; you must substitute the appropriate content from your license file. You can also install your license file using a `curl` command. Be sure to add -`@` before the license path. +`@` before the license file path to instruct curl to treat it as an input file. [source,shell] ------------------------------------------------------------