diff --git a/src/main.c b/src/main.c index 83883f7..3e3cc60 100644 --- a/src/main.c +++ b/src/main.c @@ -56,7 +56,7 @@ int32_t main(int32_t argc, char** argv) { break; // break if OPT_SET_ALL is not set (assuming the rest of the CPUs are already off) } - if ((opts & OPT_LIST_CORES) || (opts & OPT_VERBOSE)) + if ((opts & OPT_LIST_CORES)) print_cpu_count(mcpus); return 0; diff --git a/src/opts.c b/src/opts.c index 172fb18..33d14d8 100644 --- a/src/opts.c +++ b/src/opts.c @@ -23,7 +23,7 @@ uint8_t getoptions(int32_t argc, char* const* argv, int32_t* ncpus) { break; case 'v': if (opts & OPT_VERBOSE) fatal(msg, 'v'); - opts |= OPT_VERBOSE; + opts |= OPT_VERBOSE | OPT_LIST_CORES; break; case 'i': if (opts & OPT_INVERT) fatal(msg, 'i');