Include CLI's tip for -- in all builds. Better show optionality of its non-option arguments.

FossilOrigin-Name: 9e2c771daad485d923751fdee0316b195bb49ec9f865f2e39565906edeaa5cf8
This commit is contained in:
larrybr
2023-03-13 16:08:44 +00:00
parent 80511f32f7
commit bf7602a7d8
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -11667,8 +11667,8 @@ static void process_sqliterc(
** Show available command line options
*/
static const char zOptions[] =
" -- treat no subsequent arguments as options\n"
#if defined(SQLITE_HAVE_ZLIB) && !defined(SQLITE_OMIT_VIRTUALTABLE)
" -- treat none of arguments following as options\n"
" -A ARGS... run \".archive ARGS\" and exit\n"
#endif
" -append append the database to the end of the file\n"
@@ -11730,7 +11730,7 @@ static const char zOptions[] =
;
static void usage(int showDetail){
utf8_printf(stderr,
"Usage: %s [OPTIONS] [FILENAME] [SQL]\n"
"Usage: %s [OPTIONS] [FILENAME [SQL]]\n"
"FILENAME is the name of an SQLite database. A new database is created\n"
"if the file does not previously exist. Defaults to :memory:.\n", Argv0);
if( showDetail ){