diff options
| author | Georg Brandl <georg@python.org> | 2014-03-01 08:18:13 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2014-03-01 08:18:13 +0100 |
| commit | 5be6c44352380d605ddaafff9a1014b1a6730991 (patch) | |
| tree | a2ef939d0714469d9dae5a8f0c62e7e8db8e8994 /sphinx/quickstart.py | |
| parent | ac92719ac36f8f739ac93771c1250990fa0f4d8b (diff) | |
| parent | 7b0dd8c049144dd98edac136179b5230aa0a5e7c (diff) | |
| download | sphinx-git-5be6c44352380d605ddaafff9a1014b1a6730991.tar.gz | |
Merged in techtonik/sphinx (pull request #222)
Make 'python -m sphinx.quickstart' possible
Diffstat (limited to 'sphinx/quickstart.py')
| -rw-r--r-- | sphinx/quickstart.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index c5209806d..e181d3ab1 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -1309,3 +1309,7 @@ def main(argv=sys.argv): print('[Interrupted.]') return generate(d) + + +if __name__ == '__main__': + sys.exit(main(sys.argv)) |
