mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Help: support --help-raw
This commit is contained in:
@@ -537,6 +537,11 @@ static void parseCommand(FFdata* data, char* key, char* value)
|
||||
printCommandHelp(value);
|
||||
exit(0);
|
||||
}
|
||||
if(ffStrEqualsIgnCase(key, "--help-raw"))
|
||||
{
|
||||
puts(FASTFETCH_DATATEXT_JSON_HELP);
|
||||
exit(0);
|
||||
}
|
||||
else if(ffStrEqualsIgnCase(key, "-v") || ffStrEqualsIgnCase(key, "--version"))
|
||||
{
|
||||
printVersion();
|
||||
|
||||
Reference in New Issue
Block a user