diff options
author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-01-03 21:58:06 +0000 |
---|---|---|
committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-01-03 21:58:06 +0000 |
commit | 2e61d46b801c10116da911ce43e6e3e0110092cc (patch) | |
tree | 8a5774f5d24ae8198d3f9e7fcd8f9e660c4cd319 /docutils/tools/docutils-cli.py | |
parent | abceb92e3fff16c2180117f9f9806e01c4644e5c (diff) | |
download | docutils-2e61d46b801c10116da911ce43e6e3e0110092cc.tar.gz |
Clean up Markdown support.
Set 'docutils-cli.py' shebang to python3 (better chance of markdown support).
Remove the 'md2*.py' wrappers. (Use 'docutils-cli.py --parser=markdown'.)
Remove hard-coded print output from test suite when there is no recommonmark module.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8601 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/tools/docutils-cli.py')
-rwxr-xr-x | docutils/tools/docutils-cli.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docutils/tools/docutils-cli.py b/docutils/tools/docutils-cli.py index d2b7c85f0..1807b2bd7 100755 --- a/docutils/tools/docutils-cli.py +++ b/docutils/tools/docutils-cli.py @@ -1,6 +1,6 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf8 -*- -# :Copyright: © 2015 Günter Milde. +# :Copyright: © 2020 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, @@ -49,8 +49,8 @@ parser.add_argument('--writer', # choices=('html', 'html4', 'html5', 'latex', 'xelatex', # 'odt', 'xml', 'pseudoxml', 'manpage', # 'pep_html', 's5_html'), - help=u'Writer name (default "pseudoxml").', - default='pseudoxml') + help=u'Writer name (default "html5").', + default='html5') (args, remainder) = parser.parse_known_args() |