diff --git a/CHANGELOG.md b/CHANGELOG.md index e158640bc..1d2b3e3f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/completions/bash b/completions/bash index a8db1c600..9a59d7116 100644 --- a/completions/bash +++ b/completions/bash @@ -24,7 +24,7 @@ __fastfetch_complete_help() "terminal-format" "terminalfont-format" "cpu-format" - "cpu-usage-format" + "cpuusage-format" "gpu-format" "memory-format" "swap-format" diff --git a/presets/verbose b/presets/verbose index 3ed020f19..44c0c3ee9 100644 --- a/presets/verbose +++ b/presets/verbose @@ -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: {} diff --git a/src/data/config_user.txt b/src/data/config_user.txt index 7bd07a49e..3d6d0d0f1 100644 --- a/src/data/config_user.txt +++ b/src/data/config_user.txt @@ -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 diff --git a/src/fastfetch.c b/src/fastfetch.c index 4c947d562..e2ef0a7b5 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -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" ); }