mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix argument mismatch for sphinx-autogen entry point.
This commit is contained in:
parent
166f04881d
commit
a50329bd52
@ -211,7 +211,7 @@ def get_documented(filenames):
|
||||
return documented
|
||||
|
||||
|
||||
def main(argv):
|
||||
def main(argv=sys.argv):
|
||||
usage = 'usage: %s [-o output_dir] [-s suffix] sourcefile ...' % sys.argv[0]
|
||||
try:
|
||||
opts, args = getopt.getopt(argv[1:], 'o:s:')
|
||||
|
Loading…
Reference in New Issue
Block a user