From 09eb48a2413f14a5750dcd9d49e6ea3078eb0781 Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Tue, 2 Jul 2024 16:55:17 -0400 Subject: [PATCH] Update crawl command to improve URI handling and provide clearer instructions --- cmd/crawl.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/crawl.go b/cmd/crawl.go index 84fb24e..cd573ed 100644 --- a/cmd/crawl.go +++ b/cmd/crawl.go @@ -12,7 +12,11 @@ import ( ) var crawlCmd = &cobra.Command{ - Use: "crawl [uri] e.g. magellan crawl https://bmc.example.com", + Use: "crawl [uri]", + Long: "Crawl a single BMC for inventory information\n" + + "\n" + + "Example:\n" + + " magellan crawl https://bmc.example.com", Short: "Crawl a single BMC for inventory information", Args: func(cmd *cobra.Command, args []string) error { // Validate that the only argument is a valid URI