Fixed syntax error with command description

This commit is contained in:
David Allen 2024-07-31 09:21:25 -06:00
parent 00f9d4ebf0
commit 6c54801b5d
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -19,10 +19,10 @@ var listCmd = &cobra.Command{
Use: "list", Use: "list",
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" +
"Examples:\n" + "Examples:\n" +
" magellan list\n" + " magellan list\n" +
" magellan list " " magellan list --cache ./assets.db",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
probeResults, err := sqlite.GetProbeResults(cachePath) probeResults, err := sqlite.GetProbeResults(cachePath)
if err != nil { if err != nil {