diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-19 00:54:11 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-19 00:54:11 -0400 |
| commit | ce7bb43b8e0910c812c8ab9299969679082507b9 (patch) | |
| tree | 3128c5c5b2e426d09d2555f93a188df795511f0a /cmd/index.go | |
| parent | 493b08d185c784069f45be410eb9dc8d556dfb6d (diff) | |
Improve command documentation and query output
Add flags to change document and list separator in query output.
Simplified cutom output format handling.
Diffstat (limited to 'cmd/index.go')
| -rw-r--r-- | cmd/index.go | 2 |
1 files changed, 1 insertions, 1 deletions
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] <subcommand>\n\n", os.Args[0], fs.Name()) + fmt.Fprintf(f, " %s [global-flags] %s [index-flags] <subcommand>\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") |
