Usage patch
obrien@cs.ucdavis.edu
Thu, 18 Jul 1996 12:05:59 -0700 (PDT)
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?
--- lwp-rget.orig Thu Jul 18 12:01:51 1996
+++ lwp-rget Thu Jul 18 12:01:05 1996
@@ -306,8 +306,8 @@
die <<"";
Usage: $0 [options] <URL>
Allowed options are:
- --depth=N Maximum depth to traverse (default is 10)
- --limit=N A limit on the number documents to get (default is 100)
+ --depth=N Maximum depth to traverse (default is $MAX_DEPTH)
+ --limit=N A limit on the number documents to get (default is $MAX_DOC
S)
--version Print version number and quit
--verbose More output
--quiet No output
@@ -315,3 +315,5 @@
--prefix=PREFIX Limit URLs to follow to those which begin with PREFIX
}