mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-04 08:04:49 +00:00
Use filter_fieldclass_info::as_string to print field info
Instead of having a falco-specific function to print field info, use the built-in filter_fieldclass_info::as_string() instead. This is a better implementation (displays addl info, has better wrapping, wider output) and having a single implementation allows for consistent outputs between falco and other potential programs that could use the libs. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
@@ -55,7 +55,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 names_only);
|
||||
void list_fields(std::string &source, bool verbose, bool names_only);
|
||||
|
||||
//
|
||||
// Load rules either directly or from a filename.
|
||||
|
Reference in New Issue
Block a user