diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-05-11 12:53:15 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-05-11 12:53:15 -0500 |
commit | 326ddd10d7be8b4b6d102abb1bb9b09ddf672e64 (patch) | |
tree | 1a7f0468dbc7851bbb1c85cf9a6f21ca27e45faa /sphinx/cmdline.py | |
parent | 392e6ecd6fec82181d287c94b9d852efaa61f481 (diff) | |
download | sphinx-git-326ddd10d7be8b4b6d102abb1bb9b09ddf672e64.tar.gz |
Fix failing unit tests
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 a9c920c23..a8e2d3898 100644 --- a/sphinx/cmdline.py +++ b/sphinx/cmdline.py @@ -114,7 +114,7 @@ def handle_exception(app, opts, exception, stderr=sys.stderr): file=stderr) -def main(argv): +def main(argv=sys.argv[1:]): # type: (List[unicode]) -> int parser = optparse.OptionParser(USAGE, epilog=EPILOG, formatter=MyFormatter()) parser.add_option('--version', action='store_true', dest='version', |