Added support for list all packages flag in client (#1032)

* Added support for list all packages flag in client

This commit is to support --list-all_pkgs argument in client command
Example command: trivy -d client --list-all-pkgs --remote http://localhost:8080 ubuntu:18.04.

* Updated argument in client.md

* Fixed all format issues
This commit is contained in:
tonaim
2021-06-04 01:17:48 +05:30
committed by GitHub
parent fb19abd09a
commit e4c32cdb77
10 changed files with 94 additions and 62 deletions

View File

@@ -484,7 +484,7 @@ func NewClientCommand() *cli.Command {
&ignoreFileFlag,
&timeoutFlag,
&ignorePolicy,
&listAllPackages,
// original flags
&token,
&tokenHeader,