diff options
author | stephan <stephan@noemail.net> | 2025-03-29 11:50:25 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2025-03-29 11:50:25 +0000 |
commit | 39d14d48563f974f9b061e1668db83169cfc51ac (patch) | |
tree | eb719bea4fcbae35b01666fed290966e39e64e1d /src | |
parent | 2d49219b1cbffd41a7142285a5397a27bf3279b5 (diff) | |
download | sqlite-39d14d48563f974f9b061e1668db83169cfc51ac.tar.gz sqlite-39d14d48563f974f9b061e1668db83169cfc51ac.zip |
Minor shell-internal doc addition. No functional changes.
FossilOrigin-Name: 01b99c8a2819469568f369479c097cc8e3ed1f2478958460755b283dc7d11706
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index 76874e7f7..ca76e4a6e 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -10234,9 +10234,9 @@ static int do_meta_command(char *zLine, ShellState *p){ ){ char *zFile = 0; int i; - int eMode = 0; - int bOnce = 0; /* 0: .output, 1: .once, 2: .excel/.www */ - int bPlain = 0; /* --plain option */ + int eMode = 0; /* 0: .outout/.once, 'x'=.excel, 'w'=.www */ + int bOnce = 0; /* 0: .output, 1: .once, 2: .excel/.www */ + int bPlain = 0; /* --plain option */ static const char *zBomUtf8 = "\357\273\277"; const char *zBom = 0; @@ -10265,7 +10265,7 @@ static int do_meta_command(char *zLine, ShellState *p){ }else if( c=='o' && cli_strcmp(z,"-w")==0 ){ eMode = 'w'; /* Web browser */ }else{ - sqlite3_fprintf(p->out, + sqlite3_fprintf(p->out, "ERROR: unknown option: \"%s\". Usage:\n", azArg[i]); showHelp(p->out, azArg[0]); rc = 1; |