refactor: added exact number of args to list cmd

This commit is contained in:
David Allen 2025-03-20 08:58:06 -06:00 committed by David Allen
parent d4443ac6c9
commit 0569329529
Signed by: towk
GPG key ID: 0430CDBE22619155

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" +