From ce7bb43b8e0910c812c8ab9299969679082507b9 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Sat, 19 Jul 2025 00:54:11 -0400 Subject: Improve command documentation and query output Add flags to change document and list separator in query output. Simplified cutom output format handling. --- cmd/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/index.go') diff --git a/cmd/index.go b/cmd/index.go index 2f18fe0..dde9550 100644 --- a/cmd/index.go +++ b/cmd/index.go @@ -36,7 +36,7 @@ func setupIndexFlags(args []string, fs *flag.FlagSet, flags *IndexFlags) { fs.Usage = func() { f := fs.Output() fmt.Fprintf(f, "Usage of %s %s\n", os.Args[0], fs.Name()) - fmt.Fprintf(f, "\t%s [global-flags] %s [index-flags] \n\n", os.Args[0], fs.Name()) + fmt.Fprintf(f, " %s [global-flags] %s [index-flags] \n\n", os.Args[0], fs.Name()) fmt.Fprintln(f, "Subcommands:") fmt.Fprintln(f, "build - create a new index") fmt.Fprintln(f, "update - update an existing index") -- cgit v1.2.3