Smileyt / python-markdown2

Automatically exported from code.google.com/p/python-markdown2
Other
0 stars 0 forks source link

traceback if non-existant file on cmdline #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
From https://bugzilla.redhat.com/show_bug.cgi?id=633529:

The user called "markdown2 OVERVIEW.md test.html". Seems the intention was to 
generate test.html.

Surely it would have been correct to redirect, like this: "markdown2 
OVERVIEW.md > test.html".

Nevertheless, a nice error message instead of a traceback would be preferred.

Original issue reported on code.google.com by thomas.m...@gmail.com on 18 Sep 2010 at 9:25