@@ -102,13 +102,11 @@ void printHelp(Printer& log, const string& mode, bool showHeader)
102102
103103 if (mode.compare (0 , 1 , " c" ) == 0 ) {
104104 log.println (" Optional name of the output file or directory (defaults to" , true );
105- log.println (" <inputName.knz>) or 'none' or 'stdout'. 'stdout' is not valid" , true );
106- log.println (" when the number of jobs is greater than 1.\n " , true );
105+ log.println (" <inputName.knz>) or 'none' or 'stdout'.\n " , true );
107106 }
108107 else if (mode.compare (0 , 1 , " d" ) == 0 ) {
109108 log.println (" Optional name of the output file or directory (defaults to" , true );
110- log.println (" <inputName.bak>) or 'none' or 'stdout'. 'stdout' is not valid" , true );
111- log.println (" when the number of jobs is greater than 1.\n " , true );
109+ log.println (" <inputName.bak>) or 'none' or 'stdout'.\n " , true );
112110 }
113111 else {
114112 log.println (" Optional name of the output file or 'none' or 'stdout'.\n " , true );
@@ -962,12 +960,12 @@ int main(int argc, const char* argv[])
962960 Context ctx (args);
963961#else
964962 if (jobs == 0 ) {
965- int cores = max (int (thread::hardware_concurrency ()), 1 ); // User provided 0 => use all the cores
966- jobs = min (cores, MAX_CONCURRENCY);
963+ int cores = max (int (thread::hardware_concurrency ()), 1 ); // User provided 0 => use all the cores
964+ jobs = min (cores, MAX_CONCURRENCY);
967965 }
968966 else if (jobs == -1 ) {
969- int cores = max (int (thread::hardware_concurrency ()) / 2 , 1 ); // Defaults to half the cores
970- jobs = min (cores, MAX_CONCURRENCY);
967+ int cores = max (int (thread::hardware_concurrency ()) / 2 , 1 ); // Defaults to half the cores
968+ jobs = min (cores, MAX_CONCURRENCY);
971969 }
972970 else if (jobs > MAX_CONCURRENCY) {
973971 const int verbosity = args.getInt (" verbosity" );
0 commit comments