mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
Fastfetch: print module description for --list-modules
This commit is contained in:
+2
-2
@@ -192,9 +192,9 @@ static void listModules(bool pretty)
|
||||
{
|
||||
++count;
|
||||
if (pretty)
|
||||
printf("%d)%s%s\n", count, count > 9 ? " " : " ", (*modules)->name);
|
||||
printf("%d)%s%-13s: %s\n", count, count > 9 ? " " : " ", (*modules)->name, (*modules)->description);
|
||||
else
|
||||
puts((*modules)->name);
|
||||
printf("%s:%s\n", (*modules)->name, (*modules)->description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user