refactor: added exact number of args to list cmd

This commit is contained in:
David Allen 2025-03-20 08:58:06 -06:00
parent 053773d90c
commit d428dbfd27
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -21,6 +21,7 @@ var (
// is what is consumed by the `collect` command with the --cache flag.
var ListCmd = &cobra.Command{
Use: "list",
Args: cobra.ExactArgs(0),
Short: "List information stored in cache from a scan",
Long: "Prints all of the host and associated data found from performing a scan.\n" +
"See the 'scan' command on how to perform a scan.\n\n" +