use EARGF
This commit is contained in:
parent
a20a146803
commit
32053cdfb3
1 changed files with 3 additions and 3 deletions
|
|
@ -144,7 +144,7 @@ threadmain(int argc, char *argv[])
|
||||||
dflag = 1;
|
dflag = 1;
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
ncache = atoi(ARGF());
|
ncache = atoi(EARGF(usage()));
|
||||||
break;
|
break;
|
||||||
case 'i':
|
case 'i':
|
||||||
stdio = 1;
|
stdio = 1;
|
||||||
|
|
@ -152,10 +152,10 @@ threadmain(int argc, char *argv[])
|
||||||
mfd[1] = 1;
|
mfd[1] = 1;
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
host = ARGF();
|
host = EARGF(usage());
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
defsrv = ARGF();
|
defsrv = EARGF(usage());
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
noperm = 1;
|
noperm = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue