Re: Usage patch

Gisle Aas (aas@bergen.sn.no)
Fri, 19 Jul 1996 09:23:23 +0200


In message <199607181906.MAA09457@kongur>, obrien@cs.ucdavis.edu writes:
> The defaults the current usage() lists are not the same as the real defaults.
> MAX_DEPTH is 5, not 10; MAX_DOCS is 50, not 100.  So why not have usage()
> use the real variables?

Good idea, even if "lwp-rget --depth=1000" now will give the wrong
usage message, for some definitions of "wrong".

$ ./lwp-rget --depth=1000
Usage: lwp-rget [options] <URL>
Allowed options are:
  --depth=N         Maximum depth to traverse (default is 1000)
  --limit=N         A limit on the number documents to get (default is 50)
  --version         Print version number and quit
  --verbose         More output
  --quiet           No output
  --sleep=SECS      Sleep between gets, ie. go slowly
  --prefix=PREFIX   Limit URLs to follow to those which begin with PREFIX


Regards,
Gisle.