- create_work: add -d option

svn path=/trunk/boinc/; revision=22979
This commit is contained in:
David Anderson 2011-02-02 00:42:46 +00:00
parent ac6e83e90f
commit 8c3ce79b2a
2 changed files with 10 additions and 0 deletions

View File

@ -462,3 +462,9 @@ Rom 1 Feb 2011
win_build/installerv2/redist/Windows/x64/ win_build/installerv2/redist/Windows/x64/
boinccas.dll boinccas.dll
boinccas95.dll boinccas95.dll
David 1 Feb 2011
- create_work: add -d option
tools/
create_work.cpp

View File

@ -124,6 +124,10 @@ int main(int argc, const char** argv) {
while (i < argc) { while (i < argc) {
if (arg(argv, i, "appname")) { if (arg(argv, i, "appname")) {
strcpy(app.name, argv[++i]); strcpy(app.name, argv[++i]);
} else if (arg(argv, i, "d")) {
int dl = atoi(argv[++i]);
log_messages.set_debug_level(dl);
if (dl ==4) g_print_queries = true;
} else if (arg(argv, i, "wu_name")) { } else if (arg(argv, i, "wu_name")) {
strcpy(wu.name, argv[++i]); strcpy(wu.name, argv[++i]);
} else if (arg(argv, i, "wu_template")) { } else if (arg(argv, i, "wu_template")) {