gtopt::names_registry_detail::NameAliasEntry struct

One row of share/gtopt/naming_dialects.json -> aliases[].

Lives at namespace scope (not anonymous) so the daw::json::json_data_contract specializations below can bind to it across translation units.

Fields beginning with _ (currently only _note) are documentary annotations consumed by humans / --list-dialects and ignored at runtime. They are declared in the contract so the StrictParsePolicy accepts the JSON; _class_aliases_doc at the file level follows the same pattern (see NamesFile below).

Public variables

std::string alt
std::string canonical
std::optional<bool> deprecated
std::string dialect
std::string klass
std::string note

Variable documentation

std::optional<bool> gtopt::names_registry_detail::NameAliasEntry::deprecated

true for a renamed gtopt key kept only for back-compat: the canonicaliser still rewrites it but warns once and rejects an object that also sets the canonical key.