Provide guidance to remove the deprecated rgbasm flags (#1296)

* Explain to remove the deprecated rgbasm flags

* Rephrase deprecation warnings
This commit is contained in:
Sylvie
2024-02-18 10:16:15 -05:00
committed by GitHub
parent d71a161bc9
commit c07f3da9a1
3 changed files with 9 additions and 7 deletions

View File

@@ -214,7 +214,7 @@ int main(int argc, char *argv[])
case 'H':
if (warnOnHaltNop)
warning(WARNING_OBSOLETE,
"Automatic `nop` after `halt` is deprecated\n");
"Automatic `nop` after `halt` (the `-H` flag) is deprecated\n");
else
errx("`-H` and `-h` don't make sense together");
haltNop = true;
@@ -241,7 +241,7 @@ int main(int argc, char *argv[])
case 'l':
if (warnOnLdOpt)
warning(WARNING_OBSOLETE,
"Automatic `ld` to `ldh` optimization is deprecated\n");
"Automatic `ld` to `ldh` optimization (the `-l` flag) is deprecated\n");
else
errx("`-L` and `-l` don't make sense together");
optimizeLoads = true;