diff --git a/en/reference/vespa-cli/vespa_document.md b/en/reference/vespa-cli/vespa_document.md index f70ba30c42..0b3215e96f 100644 --- a/en/reference/vespa-cli/vespa_document.md +++ b/en/reference/vespa-cli/vespa_document.md @@ -55,7 +55,7 @@ $ vespa document src/test/resources/A-Head-Full-of-Dreams.json ### SEE ALSO * [vespa](vespa.html) - The command-line tool for Vespa.ai -* [vespa document get](vespa_document_get.html) - Gets a document +* [vespa document get](vespa_document_get.html) - Gets documents * [vespa document put](vespa_document_put.html) - Writes a document to Vespa * [vespa document remove](vespa_document_remove.html) - Removes a document from Vespa * [vespa document update](vespa_document_update.html) - Modifies some fields of an existing document diff --git a/en/reference/vespa-cli/vespa_document_get.md b/en/reference/vespa-cli/vespa_document_get.md index 2a456f036e..83d2c717e9 100644 --- a/en/reference/vespa-cli/vespa_document_get.md +++ b/en/reference/vespa-cli/vespa_document_get.md @@ -5,7 +5,7 @@ render_with_liquid: false ## vespa document get -Gets a document +Gets documents ``` vespa document get id [flags] @@ -14,7 +14,7 @@ vespa document get id [flags] ### Examples ``` -$ vespa document get id:mynamespace:music::a-head-full-of-dreams +$ vespa document get id:mynamespace:music::a-head-full-of-dreams... ``` ### Options diff --git a/en/reference/vespa-cli/vespa_document_put.md b/en/reference/vespa-cli/vespa_document_put.md index 0bd8082c0f..84b8e12bbc 100644 --- a/en/reference/vespa-cli/vespa_document_put.md +++ b/en/reference/vespa-cli/vespa_document_put.md @@ -13,6 +13,9 @@ Writes the document in the given file to Vespa. If the document already exists, all its values will be replaced by this document. If the document id is specified both as an argument and in the file the argument takes precedence. +If json-file is a single dash ('-'), the document will be read from standard input. + + ``` vespa document put [id] json-file [flags] ```