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:
@@ -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 ){
|
||||
|
Reference in New Issue
Block a user