Add an "oldorder" option, so that when the default changes to "neworder",

people have a way to drop back to the previous logic.

MFC after:	13 days
This commit is contained in:
Garance A Drosehn 2004-06-07 21:18:09 +00:00
parent aa6904eb66
commit 4559c1817b

View File

@ -805,6 +805,14 @@ parse_doption(const char *doption)
#endif
return (1); /* successfully parsed */
}
if (strcmp(doption, "oldorder") == 0) {
#ifdef TRY_NEWORDER
dbg_new_order = 0;
#else
warnx("NOTE: The code for 'neworder' was not compiled in.");
#endif
return (1); /* successfully parsed */
}
warnx("Unknown -D (debug) option: '%s'", doption);
return (0); /* failure */