Skip to content

Commit

Permalink
docs: add config flag to configuration section (#1271) (#1274)
Browse files Browse the repository at this point in the history
Signed-off-by: James Neate <jamesmneate@gmail.com>
  • Loading branch information
jneate committed May 5, 2023
1 parent 8d47fed commit 2930a18
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,13 +540,19 @@ They will also not be dependent on a docker daemon, (or some other runtime softw

## Configuration

Configuration search paths:
Default configuration search paths:

- `.grype.yaml`
- `.grype/config.yaml`
- `~/.grype.yaml`
- `<XDG_CONFIG_HOME>/grype/config.yaml`

You can also use the `--config` / `-c` flag to provide your own configuration file/path:

```
grype <image> -c /path/to/config.yaml
```

Configuration options (example values are the default):

```yaml
Expand Down

0 comments on commit 2930a18

Please sign in to comment.