diff options
author | Kristian Aune <kraune@verizonmedia.com> | 2023-09-14 14:19:00 +0200 |
---|---|---|
committer | Kristian Aune <kraune@verizonmedia.com> | 2023-09-14 14:19:00 +0200 |
commit | 781309b34d9c919b12c75eff01ebd9366877ba78 (patch) | |
tree | f4253d6957155b316532631ec8bec0a9867a3599 /client/go/internal/cli | |
parent | a0f05dfef982faffb3ce50166b5365e88f224d84 (diff) |
Semicolon not required in YQL anymore
Diffstat (limited to 'client/go/internal/cli')
-rw-r--r-- | client/go/internal/cli/cmd/curl.go | 2 | ||||
-rw-r--r-- | client/go/internal/cli/cmd/query.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/go/internal/cli/cmd/curl.go b/client/go/internal/cli/cmd/curl.go index 10a860cea0e..2c754022901 100644 --- a/client/go/internal/cli/cmd/curl.go +++ b/client/go/internal/cli/cmd/curl.go @@ -30,7 +30,7 @@ For a more high-level interface to query and feeding, see the 'query' and 'docum `, Example: `$ vespa curl /ApplicationStatus $ vespa curl -- -X POST -H "Content-Type:application/json" --data-binary @src/test/resources/A-Head-Full-of-Dreams.json /document/v1/namespace/music/docid/1 -$ vespa curl -- -v --data-urlencode "yql=select * from music where album contains 'head';" /search/\?hits=5`, +$ vespa curl -- -v --data-urlencode "yql=select * from music where album contains 'head'" /search/\?hits=5`, DisableAutoGenTag: true, SilenceUsage: true, Args: cobra.MinimumNArgs(1), diff --git a/client/go/internal/cli/cmd/query.go b/client/go/internal/cli/cmd/query.go index 3f849fae99e..f72d1de2843 100644 --- a/client/go/internal/cli/cmd/query.go +++ b/client/go/internal/cli/cmd/query.go @@ -29,7 +29,7 @@ func newQueryCmd(cli *CLI) *cobra.Command { cmd := &cobra.Command{ Use: "query query-parameters", Short: "Issue a query to Vespa", - Example: `$ vespa query "yql=select * from music where album contains 'head';" hits=5`, + Example: `$ vespa query "yql=select * from music where album contains 'head'" hits=5`, Long: `Issue a query to Vespa. Any parameter from https://docs.vespa.ai/en/reference/query-api-reference.html |