mirror of https://github.com/BOINC/boinc.git
- create_work: add -d option
svn path=/trunk/boinc/; revision=22979
This commit is contained in:
parent
ac6e83e90f
commit
8c3ce79b2a
|
@ -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
|
||||||
|
|
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in New Issue