summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-04-24 14:52:16 +0200
committerMartin Polden <mpolden@mpolden.no>2023-04-24 14:53:57 +0200
commit37ce1414c9d38a08e281c3faad059f0cff39560c (patch)
treeee0c63e766f148d9bacedfb471497d56be65fb2d
parent0396b8d84cfe66ce48a1671aa8291a1f23a8bfcd (diff)
Tweak help
-rw-r--r--client/go/internal/cli/cmd/feed.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/client/go/internal/cli/cmd/feed.go b/client/go/internal/cli/cmd/feed.go
index df314d02ad1..a6447ef8d2e 100644
--- a/client/go/internal/cli/cmd/feed.go
+++ b/client/go/internal/cli/cmd/feed.go
@@ -48,21 +48,20 @@ type feedOptions struct {
func newFeedCmd(cli *CLI) *cobra.Command {
var options feedOptions
cmd := &cobra.Command{
- Use: "feed FILE",
+ Use: "feed FILE [FILE]...",
Short: "Feed documents to a Vespa cluster",
Long: `Feed documents to a Vespa cluster.
-A high performance feeding client. This can be used to feed large amounts of
-documents to a Vespa cluster efficiently.
+This command can be used to feed large amounts of documents to a Vespa cluster
+efficiently.
The contents of FILE must be either a JSON array or JSON objects separated by
newline (JSONL).
If FILE is a single dash ('-'), documents will be read from standard input.
`,
- Example: `$ vespa feed documents.jsonl
-$ cat documents.jsonl | vespa feed -
-`,
+ Example: `$ vespa feed docs.jsonl moredocs.json
+$ cat docs.jsonl | vespa feed -`,
Args: cobra.MinimumNArgs(1),
DisableAutoGenTag: true,
SilenceUsage: true,