1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-03 16:53:36 +03:00

In shell, modified to not print informational messages during startup while in "batch mode".

Ticket [2cb66577f6].

FossilOrigin-Name: e3898e25cf0ea870612eeaca6af2396f0eab0e07
This commit is contained in:
shane
2009-10-24 02:06:14 +00:00
parent 86f5bdbe59
commit f69573d33e
3 changed files with 14 additions and 7 deletions

View File

@@ -3356,6 +3356,13 @@ int main(int argc, char **argv){
}else if( strcmp(argv[i],"-init")==0 ){
i++;
zInitFile = argv[i];
/* Need to check for batch mode here to so we can avoid printing
** informational messages (like from process_sqliterc) before
** we do the actual processing of arguments later in a second pass.
*/
}else if( strcmp(argv[i],"-batch")==0 ){
i++;
stdin_is_interactive = 0;
}
}
if( i<argc ){