From 4ae4947fbe6d5be3fe137f7a0d506e23862b7e1a Mon Sep 17 00:00:00 2001 From: tTh Date: Sat, 11 Feb 2023 16:08:25 +0100 Subject: [PATCH] nice hack --- Fonderie/crapulator.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Fonderie/crapulator.c b/Fonderie/crapulator.c index e78e9f1..3374e95 100644 --- a/Fonderie/crapulator.c +++ b/Fonderie/crapulator.c @@ -478,13 +478,19 @@ void list_crapulors(char *texte) int idx; #define OUT stdout -if (NULL!=texte) fprintf(OUT, "______________. %s\n", texte); + +if (NULL!=texte && verbosity) fprintf(OUT, "___ %s\n ___", texte); for (idx=0; CrapL[idx].id!=-1; idx++) { - fprintf(OUT, " %-12s | %4d | %5d | %8.3f\n", + if (verbosity) { + fprintf(OUT, " %-12s | %4d | %5d | %8.3f\n", CrapL[idx].name, CrapL[idx].id, CrapL[idx].ipar, CrapL[idx].fpar); + } + else { + fprintf(OUT, "%s\n", CrapL[idx].name); + } } #undef OUT }