Add support for the 'V'ersion rmt command.

This commit is contained in:
gibbs 1998-09-15 10:30:25 +00:00
parent 98b7cb0a1d
commit 7812b45b21

View File

@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)rmt.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: rmt.c,v 1.1 1998/05/15 12:09:06 hans Exp hans $";
#endif /* not lint */
/*
@ -190,6 +190,12 @@ main(argc, argv)
goto top;
}
case 'V': /* version */
getstring(op);
DEBUG1("rmtd: V %s\n", op);
rval = 2;
goto respond;
default:
DEBUG1("rmtd: garbage command %c\n", c);
exit(3);