mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-14 17:58:05 +00:00
Add comments with part names to -p*/s output
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user