/*
- * $Id: client.cc,v 1.94 2001/10/17 20:25:01 hno Exp $
+ * $Id: client.cc,v 1.95 2002/06/13 08:41:01 hno Exp $
*
* DEBUG: section 0 WWW Client
* AUTHOR: Harvest Derived
strcpy(url, argv[argc - 1]);
if (url[0] == '-')
usage(argv[0]);
- while ((c = getopt(argc, argv, "ah:l:P:i:km:p:rsvt:g:p:I:H:?")) != -1)
+ while ((c = getopt(argc, argv, "ah:l:P:i:km:p:rsvt:g:p:I:H:T:?")) != -1)
switch (c) {
case 'a':
opt_noaccept = 1;
*t = '\r', *(t + 1) = '\n';
}
break;
+ case 'T*:
+ io_timeout = atoi(optarg);
+ break;
case 'v':
/* undocumented: may increase verb-level by giving more -v's */
opt_verbose++;