diff --git a/cmd/shogo/commands/alert/delete.go b/cmd/shogo/commands/alert/delete.go index 3b5e698..ad2039f 100644 --- a/cmd/shogo/commands/alert/delete.go +++ b/cmd/shogo/commands/alert/delete.go @@ -11,9 +11,10 @@ import ( // Delete command var deleteCmd = &cobra.Command{ - Use: "delete", - Short: "Delete an alert", - Args: cobra.MinimumNArgs(1), + Use: "delete", + Short: "Delete an alert", + Example: "delete \ndelete ...", + Args: cobra.MinimumNArgs(1), Run: func(_ *cobra.Command, args []string) { utils.CheckColor() diff --git a/cmd/shogo/commands/alert/info.go b/cmd/shogo/commands/alert/info.go index 848b34a..d48c376 100644 --- a/cmd/shogo/commands/alert/info.go +++ b/cmd/shogo/commands/alert/info.go @@ -11,9 +11,10 @@ import ( // Info command var infoCmd = &cobra.Command{ - Use: "info", - Short: "Return alert information", - Args: cobra.MinimumNArgs(1), + Use: "info", + Short: "Return alert information", + Example: "info \ninfo ...", + Args: cobra.MinimumNArgs(1), Run: func(_ *cobra.Command, args []string) { utils.CheckColor() diff --git a/cmd/shogo/commands/count.go b/cmd/shogo/commands/count.go index 3a57b64..5de7a5f 100644 --- a/cmd/shogo/commands/count.go +++ b/cmd/shogo/commands/count.go @@ -11,9 +11,10 @@ import ( // Count command var countCmd = &cobra.Command{ - Use: "count", - Short: "Return number of results for a search", - Args: cobra.MinimumNArgs(1), + Use: "count", + Short: "Return number of results for a search", + Example: "count \ncount ...", + Args: cobra.MinimumNArgs(1), Run: func(_ *cobra.Command, args []string) { utils.CheckColor() diff --git a/cmd/shogo/commands/domain.go b/cmd/shogo/commands/domain.go index 5da348d..69f5ae6 100644 --- a/cmd/shogo/commands/domain.go +++ b/cmd/shogo/commands/domain.go @@ -11,9 +11,10 @@ import ( // Domain command var domainCmd = &cobra.Command{ - Use: "domain", - Short: "Return domain information", - Args: cobra.MinimumNArgs(1), + Use: "domain", + Short: "Return domain information", + Example: "domain \ndomain ...", + Args: cobra.MinimumNArgs(1), Run: func(_ *cobra.Command, args []string) { utils.CheckColor() diff --git a/cmd/shogo/commands/host.go b/cmd/shogo/commands/host.go index e70c377..597b474 100644 --- a/cmd/shogo/commands/host.go +++ b/cmd/shogo/commands/host.go @@ -11,9 +11,10 @@ import ( // Host command var hostCmd = &cobra.Command{ - Use: "host", - Short: "Return host information", - Args: cobra.MinimumNArgs(1), + Use: "host", + Short: "Return host information", + Example: "host \nhost ...", + Args: cobra.MinimumNArgs(1), Run: func(_ *cobra.Command, args []string) { utils.CheckColor()