mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
refactor: added exact number of args to list cmd
This commit is contained in:
parent
053773d90c
commit
d428dbfd27
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ var (
|
||||||
// is what is consumed by the `collect` command with the --cache flag.
|
// is what is consumed by the `collect` command with the --cache flag.
|
||||||
var ListCmd = &cobra.Command{
|
var ListCmd = &cobra.Command{
|
||||||
Use: "list",
|
Use: "list",
|
||||||
|
Args: cobra.ExactArgs(0),
|
||||||
Short: "List information stored in cache from a scan",
|
Short: "List information stored in cache from a scan",
|
||||||
Long: "Prints all of the host and associated data found from performing a scan.\n" +
|
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" +
|
"See the 'scan' command on how to perform a scan.\n\n" +
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue