check -m option
This commit is contained in:
parent
6bfe1fb9a9
commit
1c9671e2d0
@ -162,6 +162,9 @@ vieuwargs(argc,argv) char **argv ; {
|
||||
switch ( argp[1] ) {
|
||||
case 'm': if ( machine ) fuerror("Two machines?") ;
|
||||
machine= &argp[2];
|
||||
if (*machine == '\0') {
|
||||
fuerror("-m needs machine name");
|
||||
}
|
||||
eaten=1 ;
|
||||
break ;
|
||||
case 'o': if ( nextarg>=argc ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user