mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-10-02 16:09:00 +03:00
Change error message for missing data on terminal write
This commit is contained in:
@@ -441,9 +441,7 @@ static int cmd_write(PROGRAMMER *pgm, AVRPART *p, int argc, char *argv[]) {
|
||||
int maxsize = mem->size;
|
||||
|
||||
if (argc == 3 && maxsize > 1) {
|
||||
pmsg_error("(write) no start address specified for memory %s\n"
|
||||
"Please specify a start address for memories greater than 1 byte in size\n",
|
||||
memtype);
|
||||
pmsg_error("(write) no data specified for %s address %s\n", mem->desc, argv[2]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user