diff --git a/src/main.c b/src/main.c index fe3b77a..5066c47 100644 --- a/src/main.c +++ b/src/main.c @@ -175,8 +175,9 @@ int main ( return(ret); } - // reread arguments (to allow overrides from the command line) - read_args(argc, argv, ¶m_str, &command, &nthreads, &savefile_str, &utfile_str, &resumefile_str); + // reread arguments (to allow overrides from the command line, but do not override the command) + unsigned int dummy_command; + read_args(argc, argv, ¶m_str, &dummy_command, &nthreads, &savefile_str, &utfile_str, &resumefile_str); // reread params read_params(param_str, ¶meters, &initfile_str, &drivingfile_str); }