Skip to content

Commit

Permalink
clarify use of custom rules (#129)
Browse files Browse the repository at this point in the history
Signed-off-by: Emily McMullan <[email protected]>
  • Loading branch information
eemcmullan authored Dec 12, 2023
1 parent e35c2bd commit 3862095
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#### `--rules` + `--target`

- In kantra, if a rule is given as well as a target, but the given rule **does not**
have the target label, the given rule will not match.
- You must add the target label to the custom rule (if applicable) in
order to run this rule.
- In kantra, if a rule is given but it **does not** have a target
label, the given rule will not match.
- You must add the target label to the custom rule and specify the `--target`
in order to run this rule.

0 comments on commit 3862095

Please sign in to comment.