simplify command alias logic + remove deprecation warning for root command

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2021-03-22 15:25:04 -04:00
parent 36e4af1953
commit 46636ccb3c
4 changed files with 50 additions and 46 deletions
+3
View File
@@ -22,6 +22,9 @@ If you encounter an issue, please [let us know using the issue tracker](https://
To generate an SBOM for a Docker or OCI image:
```
syft packages <image>
# note: this is the same as not providing the "packages" subcommand
syft <image>
```
The above output includes only software that is visible in the container (i.e., the squashed representation of the image).