Skip to content

Commit

Permalink
[fix] issue from PR sphinx-doc#160 - scripts do miss arguments `sys.a…
Browse files Browse the repository at this point in the history
…rgv[1:]`

To reproduce the issue read comment [1].

[1] https://github.com/sphinx-doc/sphinx-autobuild/pull/160/files#r1620387971

Closes: sphinx-doc#162
Signed-off-by: Markus Heiser <[email protected]>
  • Loading branch information
return42 committed May 30, 2024
1 parent 674264e commit 8a567c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_autobuild/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def main(argv=()):
"""Actual application logic."""
colorama.init()

args, build_args = _parse_args(list(argv))
args, build_args = _parse_args(list(argv) or sys.argv[1:])

src_dir = args.sourcedir
out_dir = args.outdir
Expand Down

0 comments on commit 8a567c5

Please sign in to comment.