check -m option

This commit is contained in:
ceriel 1990-05-11 13:11:12 +00:00
parent c64733ae6f
commit e9d214e977

View file

@ -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 ) {