new(falco): add CLI option to print docs in markdown format

Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
Luca Guerra
2022-03-14 11:52:06 +00:00
committed by poiana
parent 4705a92c49
commit f7a5dd0d5b
5 changed files with 27 additions and 12 deletions

View File

@@ -54,7 +54,7 @@ public:
// Print to stdout (using printf) a description of each field supported by this engine.
// If source is non-empty, only fields for the provided source are printed.
void list_fields(std::string &source, bool verbose, bool names_only);
void list_fields(std::string &source, bool verbose, bool names_only, bool markdown);
//
// Load rules either directly or from a filename.