diff options
author | Georg Brandl <georg@python.org> | 2014-11-04 08:51:40 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-04 08:51:40 +0100 |
commit | fdeaff759a389a449b78376c0985df406b80bee9 (patch) | |
tree | 0b43f37053e868c4ec564438ad125f004b7815f1 /sphinx/cmdline.py | |
parent | 9bd306840fdca63014038e0bdb8ce9b46358a86b (diff) | |
download | sphinx-git-fdeaff759a389a449b78376c0985df406b80bee9.tar.gz |
Closes #1611: actually use "argv" argument again in cmdline.main.
Diffstat (limited to 'sphinx/cmdline.py')
-rw-r--r-- | sphinx/cmdline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/cmdline.py b/sphinx/cmdline.py index 18a17ab37..6486e64ba 100644 --- a/sphinx/cmdline.py +++ b/sphinx/cmdline.py @@ -126,7 +126,7 @@ def main(argv): # parse options try: - opts, args = parser.parse_args() + opts, args = parser.parse_args(argv[1:]) except SystemExit as err: return err.code |