Add comments with part names to -p*/s output

This commit is contained in:
Stefan Rueger 2022-07-25 20:30:40 +01:00
parent d5d3a0e09e
commit 1549273529
1 changed files with 6 additions and 3 deletions

View File

@ -673,10 +673,13 @@ static void dev_part_raw(AVRPART *part) {
static void dev_part_strct(AVRPART *p, bool tsv, AVRPART *base) { static void dev_part_strct(AVRPART *p, bool tsv, AVRPART *base) {
dev_info("# %s %d\n", p->config_file, p->lineno);
if(!tsv) if(!tsv) {
dev_info("part\n"); 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\"", desc);
_if_partout(strcmp, "\"%s\"", id); _if_partout(strcmp, "\"%s\"", id);