diff options
author | Dag Odenhall <dag.odenhall@gmail.com> | 2011-01-15 18:01:26 +0100 |
---|---|---|
committer | Dag Odenhall <dag.odenhall@gmail.com> | 2011-01-15 18:01:26 +0100 |
commit | 0a73fef1f004e4ff1c159a077b9249946eeec746 (patch) | |
tree | 91cf02b554cc6e5ecd84a1d84847bed0a63aea36 /sphinx/apidoc.py | |
parent | 8c9af4daec4f02b15907d6d6c692793167350054 (diff) | |
download | sphinx-git-0a73fef1f004e4ff1c159a077b9249946eeec746.tar.gz |
Fix sphinx-apidoc for use as an entry point
Diffstat (limited to 'sphinx/apidoc.py')
-rw-r--r-- | sphinx/apidoc.py | 2 |
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. """ |