From 88fda20b78fa9bd2ba30d60b0fefb6441cfe3828 Mon Sep 17 00:00:00 2001 From: Brent Murphy <56412096+bm11100@users.noreply.github.com> Date: Thu, 13 May 2021 11:43:13 -0400 Subject: [PATCH] [Bug] Update main.py to fix toml-lint (#1202) (cherry picked from commit e40276c12b6d98b914cac994d92a8c10aa667fa1) --- detection_rules/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/detection_rules/main.py b/detection_rules/main.py index 42a9cd2cf..dd9afdac0 100644 --- a/detection_rules/main.py +++ b/detection_rules/main.py @@ -113,8 +113,8 @@ def import_rules(input_file, directory): @root.command('toml-lint') -@click.option('--rule-file', '-f', type=click.Path(), multiple=True, - help='Optionally specify rule files') +@click.option('--rule-file', '-f', multiple=True, type=click.Path(exists=True), + help='Specify one or more rule files.') def toml_lint(rule_file): """Cleanup files with some simple toml formatting.""" if rule_file: