diff options
| author | anatoly techtonik <techtonik@gmail.com> | 2014-02-12 11:57:40 +0300 |
|---|---|---|
| committer | anatoly techtonik <techtonik@gmail.com> | 2014-02-12 11:57:40 +0300 |
| commit | f797cf98e0566d0180d834bb181e6e0de5ff6331 (patch) | |
| tree | 52caf03f68a8c17b6d86283ebdf4f5660c5edf2e /sphinx | |
| parent | 5e94cf8968b559320bd152609a62b59a113342ed (diff) | |
| download | sphinx-f797cf98e0566d0180d834bb181e6e0de5ff6331.tar.gz | |
Make 'python -m sphinx.quickstart' possible
Diffstat (limited to 'sphinx')
| -rw-r--r-- | sphinx/quickstart.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index a57006fd..2e1993b4 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -5,7 +5,7 @@ Quickly setup documentation source to work with Sphinx. - :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. + :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ from __future__ import print_function @@ -1298,3 +1298,7 @@ def main(argv=sys.argv): print('[Interrupted.]') return generate(d) + + +if __name__ == '__main__': + sys.exit(main(sys.argv)) |
