diff --git a/README.md b/README.md index 11fa8d5..10d20de 100644 --- a/README.md +++ b/README.md @@ -77,8 +77,8 @@ $ nix-shell --command 'cargo install cargo-instruments' --pure -p \ `cargo-instruments` requires a binary target to run. By default, it will try to build the current crate's `main.rs`. You can specify an alternative binary by -using the `--bin` or `--example` flags, or a benchmark target with the `--bench` -flag. +using the `--bin` or `--example` flags, a test target with the `--test` flag, +or a benchmark target with the `--bench` flag. Assuming your crate has one binary target named `mybin`, and you want to profile using the `Allocations` Instruments template: @@ -154,6 +154,7 @@ OPTIONS: -p, --package Specify package for example/bin/bench --profile Pass --profile NAME to cargo -t, --template