Update hint for deprecation

This commit is contained in:
Christoffer Lerno
2026-02-26 00:15:58 +01:00
parent 0a21323652
commit 09606a2998
2 changed files with 2 additions and 2 deletions

View File

@@ -317,7 +317,7 @@ void print_deprecation_at(SourceSpan loc, const char *message, ...)
if (!compiler.build.lsp_output && !deprecation_hint)
{
deprecation_hint = true;
eprintf("HINT: You may use --silence-deprecation to silence deprecation warnings.\n\n");
eprintf("HINT: You may use --warn-deprecation=no to silence deprecation warnings.\n\n");
}
va_end(args);
}