diff --git a/docs/cli.md b/docs/cli.md index 9c69c9c..943939e 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -3,10 +3,11 @@ ```sh title="nix run .#nixtests:run -- --help" Usage of nixtest: --junit string Path to generate JUNIT report to, leave empty to disable + --no-color Disable coloring --pure Unset all env vars before running script tests - --skip string Regular expression to skip (e.g., 'test-.*|.*-b') + -s, --skip string Regular expression to skip tests (e.g., 'test-.*|.*-b') --snapshot-dir string Directory where snapshots are stored (default "./snapshots") - --tests string Path to JSON file containing tests - --update-snapshots Update all snapshots - --workers int Amount of tests to run in parallel (default 4) + -f, --tests string Path to JSON file containing tests (required) + -u, --update-snapshots Update all snapshots + -w, --workers int Amount of tests to run in parallel (default 4) ```