mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1611: actually use "argv" argument again in cmdline.main.
This commit is contained in:
parent
9bd306840f
commit
fdeaff759a
@ -126,7 +126,7 @@ def main(argv):
|
|||||||
|
|
||||||
# parse options
|
# parse options
|
||||||
try:
|
try:
|
||||||
opts, args = parser.parse_args()
|
opts, args = parser.parse_args(argv[1:])
|
||||||
except SystemExit as err:
|
except SystemExit as err:
|
||||||
return err.code
|
return err.code
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user