From 8c3ce79b2a71383673a0541deb799e7216c70e86 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 2 Feb 2011 00:42:46 +0000 Subject: [PATCH] - create_work: add -d option svn path=/trunk/boinc/; revision=22979 --- checkin_notes | 6 ++++++ tools/create_work.cpp | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/checkin_notes b/checkin_notes index c738e2ef78..d88e08ebf0 100644 --- a/checkin_notes +++ b/checkin_notes @@ -462,3 +462,9 @@ Rom 1 Feb 2011 win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll + +David 1 Feb 2011 + - create_work: add -d option + + tools/ + create_work.cpp diff --git a/tools/create_work.cpp b/tools/create_work.cpp index bce5584857..4d4f021725 100644 --- a/tools/create_work.cpp +++ b/tools/create_work.cpp @@ -124,6 +124,10 @@ int main(int argc, const char** argv) { while (i < argc) { if (arg(argv, i, "appname")) { 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")) { strcpy(wu.name, argv[++i]); } else if (arg(argv, i, "wu_template")) {