Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#41 Overzealous output format warning

version 0.7.0
open
Mike Laughton
dmtxwrite (13)
3
2009-11-17
2009-11-17
Mike Laughton
No

When specifying both an output file with -o and output format with -f, dmtxwrite currently throws a warning stating that the user may have requested conflicting formats:

dmtxwrite -v -f pdf -otest.pdf atc12345.txt
WARNING: --format (-f) argument ignored; Format taken from filename

However, as seen in the example, dmtxwrite was forced to choose between ".pdf" and ".pdf" which isn't a conflict at all. Perhaps dmtxwrite should only throw the warning if there is, in fact, a conflict.

Discussion

  • Mike Laughton
    Mike Laughton
    2009-11-17

    (filed on behalf of Arnold)