Skip to content

Commit 9ebff9f

Browse files
committed
Chore: removes undocumented flag --load-config
1 parent 5d8edc0 commit 9ebff9f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Changes:
99
* `display.bar.charTotal` has been renamed to `display.bar.char.total`.
1010
* `display.bar.borderLeft` has been renamed to `display.bar.border.left`.
1111
* `display.bar.borderRight` has been renamed to `display.bar.border.right`.
12+
* Undocumented flag `--load-config` has been removed
13+
* `--config` or `-c` should be used instead.
1214

1315
Features:
1416
* Added `display.bar.border.{leftElapsed,rightElapsed}` for using border as parts of bar content. (#1875)

src/fastfetch.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include "common/init.h"
44
#include "common/io/io.h"
55
#include "common/jsonconfig.h"
6-
#include "common/printing.h"
76
#include "detection/version/version.h"
87
#include "logo/logo.h"
98
#include "util/stringUtils.h"
@@ -609,7 +608,7 @@ static void parseCommand(FFdata* data, char* key, char* value)
609608
generateConfigFile(false, value, true);
610609
else if(ffStrEqualsIgnCase(key, "--gen-config-full-force"))
611610
generateConfigFile(true, value, true);
612-
else if(ffStrEqualsIgnCase(key, "-c") || ffStrEqualsIgnCase(key, "--load-config") || ffStrEqualsIgnCase(key, "--config"))
611+
else if(ffStrEqualsIgnCase(key, "-c") || ffStrEqualsIgnCase(key, "--config"))
613612
optionParseConfigFile(data, key, value);
614613
else if(ffStrEqualsIgnCase(key, "--format"))
615614
{

0 commit comments

Comments
 (0)