rem2ps will only support "remind -p" protocol and not "remind -pp"

This commit is contained in:
Dianne Skoll
2020-01-03 18:00:21 -05:00
parent e2c9bbf94c
commit d6f24b7c1e

View File

@@ -157,6 +157,12 @@ int main(int argc, char *argv[])
/* Search for a valid input file */
while (!feof(stdin)) {
DBufGets(&buf, stdin);
if (!strcmp(DBufValue(&buf), PSBEGIN2)) {
fprintf(stderr, "Rem2PS: Please invoke Remind with the '-p' option\n");
fprintf(stderr, " and not the '-pp' option.\n");
exit(1);
}
if (!strcmp(DBufValue(&buf), PSBEGIN)) {
if (!validfile) {
if (Verbose) {