From 154927352911a3021cbec29621ece4feca57c6da Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Mon, 25 Jul 2022 20:30:40 +0100 Subject: [PATCH] Add comments with part names to -p*/s output --- src/developer_opts.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/developer_opts.c b/src/developer_opts.c index 94051fe9..589dae05 100644 --- a/src/developer_opts.c +++ b/src/developer_opts.c @@ -673,10 +673,13 @@ static void dev_part_raw(AVRPART *part) { static void dev_part_strct(AVRPART *p, bool tsv, AVRPART *base) { - dev_info("# %s %d\n", p->config_file, p->lineno); - if(!tsv) - dev_info("part\n"); + if(!tsv) { + dev_info("#------------------------------------------------------------\n"); + dev_info("# %s\n", p->desc); + dev_info("#------------------------------------------------------------\n"); + dev_info("\npart\n"); + } _if_partout(strcmp, "\"%s\"", desc); _if_partout(strcmp, "\"%s\"", id);