docs: fix incorrect flag name in readme (#2677)

This commit is contained in:
Keith Zantow 2024-02-28 15:39:43 -05:00 committed by GitHub
parent 48e5672a87
commit 326ec57d4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -228,12 +228,12 @@ syft <a directory> --select-catalogers "python"
Use the default set of catalogers and add a cataloger to the set:
```bash
syft ... --catalogers "+sbom-cataloger"
syft ... --select-catalogers "+sbom-cataloger"
```
Use the default set of catalogers but remove any catalogers that deal with RPMs:
```bash
syft ... --catalogers "-rpm"
syft ... --select-catalogers "-rpm"
```
Only scan with catalogers that: