Skip to content

Implement a deprecation mechanism for aliases of existing options #24333

@Gedochao

Description

@Gedochao

Compiler version

5a2cff6

Description

We seem to be missing a mechanism for deprecating an alias of a command line option within the compiler.
We currently can deprecate an existing flag altogether, but we can't deprecate a particular alias of it.
This is particularly useful when private (-Y*) options get stabilised and promoted to -X*/root/other.

Existing aliases in need of deprecation

Extra context

Metadata

Metadata

Assignees

Labels

area:private optionsIssues tied to -Y private/internal compiler settings.area:settingsIssues tied to command line options & settings.itype:enhancementstat:deprecated featureIssues tied to features which were deprecated at some point.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions