diff --git a/docs/command/atlas-streams-instances-download.txt b/docs/command/atlas-streams-instances-download.txt index 9ba635d552..b73e63eeac 100644 --- a/docs/command/atlas-streams-instances-download.txt +++ b/docs/command/atlas-streams-instances-download.txt @@ -14,7 +14,7 @@ atlas streams instances download Download a compressed file that contains the logs for the specified Atlas Stream Processing instance. -This command downloads a file with a .gz extension.To use this command, you must authenticate with a user account or an API key with the Project Data Access Read/Write role. +This command downloads a file with a .gz extension. To use this command, you must authenticate with a user account or an API key with the Project Data Access Read/Write role. Syntax ------ diff --git a/internal/cli/atlas/streams/instance/download.go b/internal/cli/atlas/streams/instance/download.go index 32ef4ae013..94e263601b 100644 --- a/internal/cli/atlas/streams/instance/download.go +++ b/internal/cli/atlas/streams/instance/download.go @@ -89,7 +89,7 @@ func DownloadBuilder() *cobra.Command { cmd := &cobra.Command{ Use: "download ", Short: "Download a compressed file that contains the logs for the specified Atlas Stream Processing instance.", - Long: `This command downloads a file with a .gz extension.` + fmt.Sprintf(usage.RequiredRole, "Project Data Access Read/Write"), + Long: `This command downloads a file with a .gz extension. ` + fmt.Sprintf(usage.RequiredRole, "Project Data Access Read/Write"), Args: cobra.MatchAll( require.ExactArgs(argsN), ),