Skip to content

Commit

Permalink
doc TAP_GREP and TAP_GREP_INVERT environs in cli usage
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 23, 2017
1 parent 780f14a commit 0e36c2a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion bin/usage.txt
Expand Up @@ -39,7 +39,7 @@ Options:

To specify regular expression flags,
format pattern like a JavaScript RegExp
literal. For example: `/xyz/i` for
literal. For example: '/xyz/i' for
case-insensitive matching.

-i --invert Invert the matches to --grep patterns.
Expand Down Expand Up @@ -241,6 +241,16 @@ Environment Variables:

NODE_DEBUG Include 'tap' to turn on debug mode.

TAP_GREP A '\n'-delimited list of grep patterns
to apply to root level test objects.
(This is an implementation detail for how
the '--grep' option works.)

TAP_GREP_INVERT Set to '1' to invert the meaning of the
patterns in TAP_GREP. (Implementation
detail for how the '--invert' flag
works.)

Config Files:

You can create a yaml file with any of the options above. By default,
Expand Down

0 comments on commit 0e36c2a

Please sign in to comment.