secnote

The secnote tool.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/secnote

commit 60d47943d91ccab224144ab3c24e5e95f052504b
parent 4c35ca51b8c06a3204f998cd0f64adcab18920de
Author: Joris Vink <joris@coders.se>
Date:   Fri,  3 Jun 2022 12:42:17 +0200

Better wording in topic.

Layout change in number of detected changed chunks.

Diffstat:
secnote.c | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/secnote.c b/secnote.c @@ -259,8 +259,10 @@ context_compare(struct context *verify, struct context *ondisk) if (t2 == NULL) { changes++; - printf("topic '%s' not found in source\n", t1->name); + printf("topic '%s' not found in new code\n", t1->name); topic_free(verify, t1); + if (TAILQ_EMPTY(&verify->topics)) + printf("\n"); continue; } @@ -354,8 +356,8 @@ context_compare(struct context *verify, struct context *ondisk) } if (changes > 0) { - fatal("%s%d change%s detected", header ? "\n" : "", - changes, changes > 1 ? "s" : ""); + fatal("%s%d change%s detected", + header ? "\n" : "", changes, changes > 1 ? "s" : ""); } printf("secnote identical\n");