From d428dbfd27f68ff1e6acbcea24e475eb3a3fae45 Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Thu, 20 Mar 2025 08:58:06 -0600 Subject: [PATCH] refactor: added exact number of args to list cmd --- cmd/list.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/list.go b/cmd/list.go index d760501..9fbc361 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -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" +