[common] option: Reformat help and support rST tables

Corners of table have '+' added, and adds new command line flag --rst-help,
which adds some extra formatting to the make it an rST compliant table for the
in-line docs.
This commit is contained in:
Jonathan Rubenstein
2021-05-05 14:10:46 -04:00
committed by Geoffrey McRae
parent 903cc9815f
commit c6d7fb8dd0
2 changed files with 44 additions and 19 deletions

View File

@@ -32,6 +32,13 @@ enum OptionType
OPTION_TYPE_CUSTOM
};
enum doHelpMode
{
DOHELP_MODE_NO = 0,
DOHELP_MODE_YES,
DOHELP_MODE_RST
};
struct Option;
struct Option