Skip to content

Commit fae4892

Browse files
committed
Fastfetch: improves config file generation message with tips
1 parent 8589bf2 commit fae4892

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/fastfetch.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,11 @@ static void writeConfigFile(FFdata* data)
790790
exit(1);
791791
}
792792
if (ffWriteFileData(filename->chars, len, str))
793-
printf("The generated config file has been written in `%s`\n", filename->chars);
793+
{
794+
printf("✓ Configuration file generated: `%s`\n"
795+
"* Tip: Use a JSON schema-aware editor for better editing experience\n"
796+
"* Documentation: https://github.com/fastfetch-cli/fastfetch/wiki/Configuration\n", filename->chars);
797+
}
794798
else
795799
{
796800
printf("Error: failed to write file in `%s`\n", filename->chars);

0 commit comments

Comments
 (0)