[v0.97] Manually merge bugfix branch with latest fixes

This commit is contained in:
Dr-Noob
2021-04-09 15:14:47 +02:00
7 changed files with 136 additions and 33 deletions

View File

@@ -95,6 +95,17 @@ int main(int argc, char* argv[]) {
return EXIT_SUCCESS;
}
if(show_raw()) {
#ifdef ARCH_X86
print_version();
print_raw(cpu);
return EXIT_SUCCESS;
#else
printErr("raw option is valid only in x86_64");
return EXIT_FAILURE;
#endif
}
if(print_cpufetch(cpu, get_style(), get_colors()))
return EXIT_SUCCESS;
else