summaryrefslogtreecommitdiff
path: root/sphinx/apidoc.py
diff options
context:
space:
mode:
authorDag Odenhall <dag.odenhall@gmail.com>2011-01-15 18:01:26 +0100
committerDag Odenhall <dag.odenhall@gmail.com>2011-01-15 18:01:26 +0100
commit0a73fef1f004e4ff1c159a077b9249946eeec746 (patch)
tree91cf02b554cc6e5ecd84a1d84847bed0a63aea36 /sphinx/apidoc.py
parent8c9af4daec4f02b15907d6d6c692793167350054 (diff)
downloadsphinx-git-0a73fef1f004e4ff1c159a077b9249946eeec746.tar.gz
Fix sphinx-apidoc for use as an entry point
Diffstat (limited to 'sphinx/apidoc.py')
-rw-r--r--sphinx/apidoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/apidoc.py b/sphinx/apidoc.py
index 36b349eb1..86ed04d06 100644
--- a/sphinx/apidoc.py
+++ b/sphinx/apidoc.py
@@ -216,7 +216,7 @@ def is_excluded(root, excludes):
return True
return False
-def main(argv):
+def main(argv=sys.argv):
"""
Parse and check the command line arguments.
"""