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:
joerg_wunsch
2003-11-26 22:05:02 +00:00
parent d1f15ade2c
commit 9dd5e43b20
3 changed files with 49 additions and 41 deletions

View File

@@ -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.