aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/__main__.py b/markdown/__main__.py
index b6a2e23..116073f 100644
--- a/markdown/__main__.py
+++ b/markdown/__main__.py
@@ -24,7 +24,7 @@ def parse_options():
ver = "%%prog %s" % markdown.version
parser = optparse.OptionParser(usage=usage, description=desc, version=ver)
- parser.add_option("-f", "--file", dest="filename", default=sys.stdout,
+ parser.add_option("-f", "--file", dest="filename", default=None,
help="Write output to OUTPUT_FILE. Defaults to STDOUT.",
metavar="OUTPUT_FILE")
parser.add_option("-e", "--encoding", dest="encoding",