Skip to content

Commit 53fece6

Browse files
committed
fix(cli): fix the usage string, some unexpected character were causing a bug in the library used to parse arguments.
For example, the Newline setting had an empty string value instead of the usual default value.
1 parent d3841ae commit 53fece6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/sqlc.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ General Options:
7474
Output Format Options:
7575
-o, --output FILE Switch to BATCH mode, execute SQL Commands and send output to FILE, then exit.
7676
In BATCH mode, the default output format is switched to QUOTE.
77-
77+
7878
--echo Disables --quiet, print command(s) before execution
7979
--quiet Disables --echo, run command(s) quietly (no messages, only query output)
8080
--noheader Turn headers off
81-
--nullvalue TEXT Set text string for NULL values [default: "NULL"]
81+
--nullvalue TEXT Set text string for NULL values [default: "NULL"]
8282
--newline SEP Set output row separator [default: "\r\n"]
83-
--separator SEP Set output column separator [default::"|"]
83+
--separator SEP Set output column separator [default: "|"]
8484
--format (LIST|CSV|QUOTE|TABS|LINE|JSON|HTML|XML|MARKDOWN|TABLE|BOX)
8585
Specify the Output mode [default::BOX]
8686

0 commit comments

Comments
 (0)