Commits

Georg Brandl committed cd6b7c0

Fix argument mismatch for sphinx-autogen entry point.

Comments (0)

Files changed (1)

sphinx/ext/autosummary/generate.py

     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:')