Global: replace cpu-usage to cpuusage

This commit is contained in:
李通洲
2023-08-29 17:43:39 +08:00
parent a5ee51e156
commit 21e5df2826
5 changed files with 10 additions and 7 deletions
+3 -3
View File
@@ -360,7 +360,7 @@
#--terminal-key Terminal
#--terminalfont-key Terminal Font
#--cpu-key CPU
#--cpu-usage-key CPU Usage
#--cpuusage-key CPU Usage
#--gpu-key GPU {1}
#--memory-key Memory
#--swap-key Swap
@@ -411,7 +411,7 @@
#--terminal-format
#--terminalfont-format
#--cpu-format
#--cpu-usage-format
#--cpuusage-format
#--gpu-format
#--memory-format
#--swap-format
@@ -459,7 +459,7 @@
#--terminal-key-color
#--terminalfont-key-color
#--cpu-key-color
#--cpu-usage-key-color
#--cpuusage-key-color
#--gpu-key-color
#--memory-key-color
#--swap-key-color
+2 -2
View File
@@ -307,9 +307,9 @@ static inline void printCommandHelp(const char* command)
"Temperature"
);
}
else if(ffStrEqualsIgnCase(command, "cpu-usage-format"))
else if(ffStrEqualsIgnCase(command, "cpuusage-format"))
{
constructAndPrintCommandHelpFormat("cpu-usage", "{0}%", 1,
constructAndPrintCommandHelpFormat("cpuusage", "{0}%", 1,
"CPU usage without percent mark"
);
}