File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 272272
273273# parsing arguments function
274274def parse_arguments ():
275- """Parse command-line options, returns parsed argument namespace."""
275+ """Parse command-line options, returns parsed argument namespace.
276+
277+ Note: The --limit parameter sets the total number of papers to fetch
278+ across all search queries, not per query. ArXiv API recommends
279+ maximum of 30000 results per session for optimal performance.
280+ """
276281 LOGGER .info ("Parsing command-line options" )
277282 parser = argparse .ArgumentParser (description = __doc__ )
278283 parser .add_argument (
279284 "--limit" ,
280285 type = int ,
281286 default = DEFAULT_FETCH_LIMIT ,
282- help = f"Limit papers to fetch (default: { DEFAULT_FETCH_LIMIT } )" ,
287+ help = (
288+ f"Total limit of papers to fetch across all search queries "
289+ f"(default: { DEFAULT_FETCH_LIMIT } ). Maximum recommended: 30000. "
290+ f"Note: Individual queries limited to 500 results (implementation choice). "
291+ f"See ArXiv API documentation: https://info.arxiv.org/help/api/user-manual.html"
292+ ),
283293 )
284294 parser .add_argument (
285295 "--enable-save" ,
You can’t perform that action at this time.
0 commit comments