Refactor pci code

This commit is contained in:
Linus Dierheimer
2022-09-01 17:14:50 +02:00
parent f011f8851e
commit 3b316bdd3f
8 changed files with 164 additions and 133 deletions
+1 -3
View File
@@ -273,11 +273,9 @@ static inline void printCommandHelp(const char* command)
}
else if(strcasecmp(command, "gpu-format") == 0)
{
constructAndPrintCommandHelpFormat("gpu", "{2} {4}", 6,
constructAndPrintCommandHelpFormat("gpu", "{} {}", 4,
"GPU vendor",
"GPU vendor pretty",
"GPU name",
"GPU name pretty",
"GPU driver",
"GPU temperature"
);