mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 22:45:27 +00:00
Make the -U parser tolerate colons in filenames.
Document the change, including changing one of the texinfo examples to use a Windows-like filename that contains a space (and thus requires quoting). This fixes bug #6764. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@386 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -495,6 +495,9 @@ The @var{filename} field indicates the name of the file to read or
|
||||
write. The @var{format} field is optional and contains the format of
|
||||
the file to read or write. See the @option{-f} option for possible
|
||||
values.
|
||||
Note that if @var{filename} contains a colon, the @var{format} field is
|
||||
no longer optional since the filename part following the colon would
|
||||
otherwise be misinterpreted as @var{format}.
|
||||
|
||||
@item -v
|
||||
Enable verbose output.
|
||||
@@ -574,11 +577,11 @@ avrdude done. Thank you.
|
||||
@noindent
|
||||
Upload the flash memory from the ATmega128 connected to the STK500
|
||||
programmer and save it in raw binary format in the file named
|
||||
@code{diag.flash}:
|
||||
@code{c:/diag flash.bin}:
|
||||
|
||||
@example
|
||||
@cartouche
|
||||
% avrdude -p m128 -c stk500 -U flash:r:diag.flash:r
|
||||
% avrdude -p m128 -c stk500 -U flash:r:"c:/diag flash.bin":r
|
||||
|
||||
avrdude: AVR device initialized and ready to accept instructions
|
||||
|
||||
@@ -589,7 +592,7 @@ avrdude: reading flash memory:
|
||||
|
||||
Reading | ################################################## | 100% 46.10s
|
||||
|
||||
avrdude: writing output file "diag.flash"
|
||||
avrdude: writing output file "c:/diag flash.bin"
|
||||
|
||||
avrdude done. Thank you.
|
||||
|
||||
|
Reference in New Issue
Block a user