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;

View File

@@ -1279,9 +1279,9 @@ DW `00112233
.Ed
.Pp
The options that OPT can modify are currently:
.Cm b , e
.Cm b , g
and
.Cm g .
.Cm p .
.Pp
.Ic POPO
and

View File

@@ -26,7 +26,7 @@ if [ ! -d pokecrystal ]; then
fi
pushd pokecrystal
git fetch
git checkout 80cf859cd31c3882f8c42dd19e56fcde02b8955c
git checkout c87f8512a4d736a847dbc69e09c781a29eeaa638
make clean
make -j4 compare
popd