Deprecate OPT z in favor of OPT p

Fixes #298
This commit is contained in:
ISSOtm
2020-03-14 16:50:33 +01:00
parent 5b98beec8b
commit 7b54312d97
3 changed files with 6 additions and 3 deletions

View File

@@ -157,6 +157,9 @@ void opt_Parse(char *s)
}
break;
case 'z':
warning(WARNING_OBSOLETE, "Option 'z' is a deprecated alias for 'p'");
/* fallthrough */
case 'p':
if (strlen(&s[1]) <= 2) {
int32_t result;
unsigned int fillchar;