1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Minor tweaks to the bc_test1 test program.

FossilOrigin-Name: d0d0bab4e92402b6af98366be6e8955588613a51
This commit is contained in:
dan
2016-05-30 05:45:32 +00:00
parent adeb47e57b
commit 96b9dc9b36
4 changed files with 24 additions and 18 deletions

View File

@@ -166,6 +166,11 @@ static void cmdline_process(
int n = strlen(z);
int iOpt = -1;
if( z[0]=='-' && z[1]=='-' ){
z++;
n--;
}
for(iArg=0; apArg[iArg].zSwitch; iArg++){
if( 0==sqlite3_strnicmp(apArg[iArg].zSwitch, z, n) ){
if( iOpt>=0 ){