
12 Oct
2020
12 Oct
'20
5:35 a.m.
On Sat, 10 Oct 2020 at 13:44, Sean Anderson seanga2@gmail.com wrote:
This adds several commands to add, list, and remove log filters. Due to the complexity of adding a filter, `log filter-list` uses options instead of positional arguments.
These commands have been added as subcommands to log by using a dash to join the subcommand and subsubcommand. This is stylistic, and they could be converted to proper subsubcommands if it is wished.
Signed-off-by: Sean Anderson seanga2@gmail.com
Changes in v2:
- Add option to remove all filters to filter-remove
- Clarify filter-* help text
cmd/Kconfig | 1 + cmd/log.c | 240 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 241 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org