mirror of
https://github.com/anchore/grype
synced 2024-09-20 06:21:56 +00:00
Merge pull request #65 from anchore/dir-helpmenu
cmd: add directory scan help entry
This commit is contained in:
commit
4eea5d00fc
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ var rootCmd = &cobra.Command{
|
|||
Short: "A vulnerability scanner for container images and filesystems", // TODO: add copy, add path-based scans
|
||||
Long: format.Tprintf(`Supports the following image sources:
|
||||
{{.appName}} yourrepo/yourimage:tag defaults to using images from a docker daemon
|
||||
{{.appName}} dir://path/to/yourrepo do a directory scan
|
||||
{{.appName}} docker://yourrepo/yourimage:tag explicitly use a docker daemon
|
||||
{{.appName}} tar://path/to/yourimage.tar use a tarball from disk
|
||||
`, map[string]interface{}{
|
||||
|
|
Loading…
Reference in a new issue