Skip to content

Commit bc24e85

Browse files
authored
Merge pull request #2469 from pi-hole/update/sqlite_3.50.0
Update SQLite to 3.50.0
2 parents 49aa55e + 4ffaddb commit bc24e85

File tree

6 files changed

+4129
-1982
lines changed

6 files changed

+4129
-1982
lines changed

src/args.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ void parse_args(int argc, char *argv[])
10211021

10221022
printf("%sEmbedded SQLite3 shell:%s\n", yellow, normal);
10231023
printf("\t%ssql%s, %ssqlite3%s FTL's SQLite3 shell\n", green, normal, green, normal);
1024-
printf(" Usage: %s sqlite3 %s[OPTIONS] [FILENAME] [SQL]%s\n\n", green, cyan, normal);
1024+
printf(" Usage: %s sqlite3 %s[OPTIONS] [FILENAME [SQL...]]%s\n\n", green, cyan, normal);
10251025
printf(" Options:\n\n");
10261026
printf(" - %s[OPTIONS]%s is an optional set of options. All available\n", cyan, normal);
10271027
printf(" options can be found in %s%s sqlite3 --help%s.\n", green, argv[0], normal);
@@ -1030,7 +1030,7 @@ void parse_args(int argc, char *argv[])
10301030
printf(" A new database is created if the file does not previously\n");
10311031
printf(" exist. If this argument is omitted, SQLite3 will use a\n");
10321032
printf(" transient in-memory database instead.\n");
1033-
printf(" - %s[SQL]%s is an optional SQL statement to be executed. If\n", cyan, normal);
1033+
printf(" - %s[SQL...]%s is an optional SQL statement to be executed. If\n", cyan, normal);
10341034
printf(" omitted, an interactive shell is started instead.\n\n");
10351035
printf(" There are two special %s%s sqlite3%s mode switches:\n", green, argv[0], normal);
10361036
printf(" %s-h%s %shuman-readable%s mode:\n", purple, normal, bold, normal);
@@ -1042,7 +1042,7 @@ void parse_args(int argc, char *argv[])
10421042
printf(" In this mode, batch mode is enforced and any possibly\n");
10431043
printf(" existing .sqliterc file is ignored. %s-ni%s is a shortcut\n", purple, normal);
10441044
printf(" for %s%s sqlite3 %s-batch -init /dev/null%s\n\n", green, argv[0], purple, normal);
1045-
printf(" Usage: %s%s sqlite3 %s-ni %s[OPTIONS] [FILENAME] [SQL]%s\n\n", green, argv[0], purple, cyan, normal);
1045+
printf(" Usage: %s%s sqlite3 %s-ni %s[OPTIONS] [FILENAME [SQL...]]%s\n\n", green, argv[0], purple, cyan, normal);
10461046

10471047
printf("%ssqlite3_rsync%s tool:\n", yellow, normal);
10481048
printf("\t%ssqlite3_rsync%s Synchronize SQLite3 databases\n", green, normal);

0 commit comments

Comments
 (0)