Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/ts-command-line > IBaseCommandLineDefinition > undocumentedSynonyms

IBaseCommandLineDefinition.undocumentedSynonyms property

Specifies additional names for this parameter that are accepted but not displayed in the command line help.

Signature:

undocumentedSynonyms?: string[];

Remarks

This option can be used in cases where a command-line parameter may have been renamed, but the developer doesn't want to break backwards compatibility with systems that may still be using the old name. Only the parameterLongName syntax is currently allowed.