[common] option: add support for renamed options

This commit is contained in:
Geoffrey McRae
2026-07-30 07:45:14 +10:00
parent 36b33033a1
commit 8e81120cfc
2 changed files with 18 additions and 0 deletions

View File

@@ -48,6 +48,11 @@ struct Option
{
char * module;
char * name;
// for migrating to new names
char * old_module;
char * old_name;
char * description;
char shortopt;
bool preset;