aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2025-02-25 18:10:47 +0000
committerdrh <>2025-02-25 18:10:47 +0000
commit82769e7d04a7633f05e79777cf87472f3afb8b4e (patch)
tree72f4132b95948d2bd89fc963b4dadfe584e99348 /src
parent90454d892494464131f43eae84c90447c1dc2fda (diff)
downloadsqlite-82769e7d04a7633f05e79777cf87472f3afb8b4e.tar.gz
sqlite-82769e7d04a7633f05e79777cf87472f3afb8b4e.zip
Improved help messages for the --escape option in the CLI.
FossilOrigin-Name: e6784af6d50f715338ae3218fc8ba1b894883c27d797f0b7fd2625cac17d9cd7
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 40f07332c..011c8c984 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -5130,7 +5130,7 @@ static const char *(azHelp[]) = {
#else
".log on|off Turn logging on or off.",
#endif
- ".mode MODE ?OPTIONS? Set output mode",
+ ".mode ?MODE? ?OPTIONS? Set output mode",
" MODE is one of:",
" ascii Columns/rows delimited by 0x1F and 0x1E",
" box Tables using unicode box-drawing characters",
@@ -5148,6 +5148,7 @@ static const char *(azHelp[]) = {
" tabs Tab-separated values",
" tcl TCL list elements",
" OPTIONS: (for columnar modes or insert mode):",
+ " --escape T ctrl-char escape; T is one of: symbol, ascii, off",
" --wrap N Wrap output lines to no longer than N characters",
" --wordwrap B Wrap or not at word boundaries per B (on/off)",
" --ww Shorthand for \"--wordwrap 1\"",
@@ -12738,7 +12739,7 @@ static const char zOptions[] =
" -deserialize open the database using sqlite3_deserialize()\n"
#endif
" -echo print inputs before execution\n"
- " -escape MODE ctrl-char escape mode, one of: symbol, ascii, off\n"
+ " -escape T ctrl-char escape; T is one of: symbol, ascii, off\n"
" -init FILENAME read/process named file\n"
" -[no]header turn headers on or off\n"
#if defined(SQLITE_ENABLE_MEMSYS3) || defined(SQLITE_ENABLE_MEMSYS5)