[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 authored and Geoffrey McRae committed 2021-05-06 22:32:36 +10:00
1 parent 903cc9815f
commit c6d7fb8dd0
2 files changed
+44 -19

No files matched your search

+7
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