- client: add --no_gpus cmdline option

svn path=/trunk/boinc/; revision=19523
This commit is contained in:
David Anderson 2009-11-09 20:00:45 +00:00
parent 609872edf7
commit a01966056f
2 changed files with 8 additions and 0 deletions

View File

@ -8981,3 +8981,9 @@ David 9 Nov 2009
cs_cmdline.cpp
cs_scheduler.cpp
sysmon_win.cpp
David 9 Nov 2009
- client: add --no_gpus cmdline option
client/
cs_cmdline.cpp

View File

@ -178,6 +178,8 @@ void CLIENT_STATE::parse_cmdline(int argc, char** argv) {
} else if (ARG(master_fetch_retry_cap)) {
if (i == argc-1) show_options = true;
else master_fetch_retry_cap = atoi(argv[++i]);
} else if (ARG(no_gpus)) {
config.no_gpus = true;
} else if (ARG(no_gui_rpc)) {
no_gui_rpc = true;
} else if (ARG(no_priority_change)) {