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 | fad7cf4945f3a5bd45cac9ff1633c47ac8b1eec1 (patch) | |
tree | 0b43f37053e868c4ec564438ad125f004b7815f1 | |
parent | 02b525ba333537cfb82378c1caef411c64b4df40 (diff) | |
download | sphinx-fad7cf4945f3a5bd45cac9ff1633c47ac8b1eec1.tar.gz |
Closes #1611: actually use "argv" argument again in cmdline.main.
-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 18a17ab3..6486e64b 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 |