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
View File
@@ -3,6 +3,9 @@
Features:
* Add fast path for xfce4 version detection (DE, FreeBSD)
Bugfixes:
* Fix `fastfetch --config verbose` doesn't work (#547)
# 2.0.5
Bugfixes:
+1 -1
View File
@@ -24,7 +24,7 @@ __fastfetch_complete_help()
"terminal-format"
"terminalfont-format"
"cpu-format"
"cpu-usage-format"
"cpuusage-format"
"gpu-format"
"memory-format"
"swap-format"
+1 -1
View File
@@ -16,7 +16,7 @@
--terminal-format Process: {}; Path: {}; Exe: {}
--terminalfont-format Pretty: {}; Name: {}; Size: {}; Styles: {}
--cpu-format Name: {}, Vendor: {}, CoresPhysical: {}, CoresLogical: {}, CoresOnline: {}, FrequencyMin: {}, FrequencyMax: {}, Temperature: {}
--cpu-usage-format Percentage: {}
--cpuusage-format Percentage: {}
--gpu-format Vendor: {}; Name: {}; Driver: {}; Temperature: {}; CoreCount: {}; Type: {}
--memory-format Used: {}; Total: {}; Percentage: {}
--disk-format SizeUsed: {}; SizeTotal: {}; SizePercentage: {}; FilesUsed: {}; FilesTotal: {}; FilesPercentage: {}; External: {}; Hidden: {}; Filesystem: {}; Name: {}
+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"
);
}