diff --git a/cmd/cmd.go b/cmd/cmd.go index bc27983..50ed3ee 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -372,7 +372,7 @@ func Usage(flags *flag.FlagSet) { fmt.Fprintf(flags.Output(), "\n%s\n", bold("Examples:")) fmt.Fprintf(flags.Output(), " $ trdsql \"SELECT c1,c2 FROM test.csv\"\n") fmt.Fprintf(flags.Output(), " $ trdsql -oltsv \"SELECT c1,c2 FROM test.json::.items\"\n") - fmt.Fprintf(flags.Output(), " $ cat test.csv | trdsql -i csv -oltsv \"SELECT c1,c2 FROM -\"\n") + fmt.Fprintf(flags.Output(), " $ cat test.csv | trdsql -icsv -oltsv \"SELECT c1,c2 FROM -\"\n") } func usageFlag(f *flag.Flag) string {