* fileio.c (fileio): Don't exit(1) if something goes wrong; return
-1 instead. Don't refer to obsolete option -f to specify the file format. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1216 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
e1165d38d6
commit
5675681c4d
|
@ -1,3 +1,9 @@
|
|||
2013-09-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||
|
||||
* fileio.c (fileio): Don't exit(1) if something goes wrong; return
|
||||
-1 instead. Don't refer to obsolete option -f to specify the file
|
||||
format.
|
||||
|
||||
2013-09-10 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||
|
||||
Submitted by Matthias Trute:
|
||||
|
|
|
@ -1542,9 +1542,9 @@ int fileio(int op, char * filename, FILEFMT format,
|
|||
if (using_stdio) {
|
||||
fprintf(stderr,
|
||||
"%s: can't auto detect file format when using stdin/out.\n"
|
||||
" Please specify a file format using the -f option and try again.\n",
|
||||
progname);
|
||||
exit(1);
|
||||
"%s Please specify a file format and try again.\n",
|
||||
progname, progbuf);
|
||||
return -1;
|
||||
}
|
||||
|
||||
format = fmt_autodetect(fname);
|
||||
|
|
Loading…
Reference in New Issue