From f7779053c05a1f3923902bc952af0c4ce44077dc Mon Sep 17 00:00:00 2001 From: Ajinkya Udgirkar Date: Wed, 1 Feb 2023 23:36:54 +0530 Subject: [PATCH] Added example for skip list on command line (#2964)Co-authored-by: Ajinkya Udgirkar Co-authored-by: Sorin Sbarnea Co-authored-by: Sorin Sbarnea Fixes https://github.com/ansible/ansible-lint/issues/2946 * Added example for skip list on command line * Update cli.py --------- Co-authored-by: Ajinkya Udgirkar Co-authored-by: Sorin Sbarnea Co-authored-by: Sorin Sbarnea --- src/ansiblelint/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ansiblelint/cli.py b/src/ansiblelint/cli.py index f6f565ee6c..cce5471546 100644 --- a/src/ansiblelint/cli.py +++ b/src/ansiblelint/cli.py @@ -364,7 +364,8 @@ def get_cli_parser() -> argparse.ArgumentParser: dest="skip_list", default=[], action="append", - help="only check rules whose id/tags do not match these values", + help="only check rules whose id/tags do not match these values. \ + e.g: --skip-list=name,run-once", ) parser.add_argument( "-w",