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

Close

#42 Warn user on invalid matrix size request

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

dmtxwrite should throw a more descriptive warning when a user requests an invalid matrix size:

Current behavior:
$ echo -n 123456 | dmtxwrite -p -s10000x10000
Usage: dmtxwrite [OPTION]... [FILE]
Try `dmtxwrite --help' for more information.

Improved behavior:
$ echo -n 123456 | dmtxwrite -p -s10000x10000
dmtxwrite: Invalid matrix size: "10000x10000"
Usage: dmtxwrite [OPTION]... [FILE]

(filed on behalf of Jernej)
Try `dmtxwrite --help' for more information.

Discussion