diff --git a/client/client_state.C b/client/client_state.C index a544b24b8f..6ee997b042 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -1076,8 +1076,7 @@ void CLIENT_STATE::parse_cmdline(int argc, char** argv) { exit_after = atoi(argv[++i]); continue; } - // Give up on file transfers after x seconds. - // Default value is 1209600 (2 weeks) + if (!strcmp(argv[i], "-giveup_after")) { giveup_after = atoi(argv[++i]); continue; @@ -1088,7 +1087,6 @@ void CLIENT_STATE::parse_cmdline(int argc, char** argv) { continue; } - // Put the client in the background after starting up if (!strcmp(argv[i], "-min")) { minimize = true; continue; diff --git a/doc/client_debug.html b/doc/client_debug.html index 732ca53f35..567a93c139 100644 --- a/doc/client_debug.html +++ b/doc/client_debug.html @@ -1,6 +1,24 @@ Core client: debugging

Core client: debugging

+

Command-line options

+

+Some command-line options intended for debugging: +

+
-exit_when_idle +
Exit when we're not working on anything and a scheduling server +gives a "no work" return. +
-no_time_test +
Don't run performance benchmarks; used fixed numbers instead. +
-exit_after N +
Exit after about N seconds +
-giveup_after N +
Give up on file transfers after N seconds (default is 2 weeks) +
-limit_transfer_rate N +
Limit total network traffic to N bytes/sec. +
-min +
Put client in the background after starting up +

Logging and error output

The core client writes error messages to stderr. diff --git a/todo b/todo index 626d981f99..906d1d052b 100755 --- a/todo +++ b/todo @@ -3,7 +3,6 @@ BUGS (arranged from high to low priority) ----------------------- - Suspend/resume not fully functional on Windows, no way to suspend/resume on UNIX -- Currently, if there are multiple CPUs they work on the same result - "Show Graphics" menu item brings up minimized window, client does not remember window size/pos after close/reopen, window closes and does not reopen when workunit finishes