From 2ae007d61e2563a7762dcad73b2dbae1e4059daf Mon Sep 17 00:00:00 2001 From: Johan Brandhorst-Satzkorn Date: Thu, 22 Jun 2023 07:31:21 -0700 Subject: [PATCH] cmd: fix session recording download flag help (#3351) When using an alias, we automatically add a little blurb to the end of the flag help. When not terminating the flag help with a full stop, this looks a bit odd. Add full stops to all the download flags for consistency. --- internal/cmd/commands/sessionrecordingscmd/download.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/cmd/commands/sessionrecordingscmd/download.go b/internal/cmd/commands/sessionrecordingscmd/download.go index bca6f8ca0b..d301c50373 100644 --- a/internal/cmd/commands/sessionrecordingscmd/download.go +++ b/internal/cmd/commands/sessionrecordingscmd/download.go @@ -54,18 +54,18 @@ func (c *DownloadCommand) Flags() *base.FlagSets { f.StringVar(&base.StringVar{ Name: "id", Target: &c.FlagId, - Usage: "The id of the session recording resource to download", + Usage: "The id of the session recording resource to download.", }) f.StringVar(&base.StringVar{ Name: "output", Target: &c.FlagOutputFile, - Usage: "An optional output file for the download. If not provided the recording id will be used with a \".cast\" extension. Use \"-\" for stdout", + Usage: "An optional output file for the download. If not provided the recording id will be used with a \".cast\" extension. Use \"-\" for stdout.", Aliases: []string{"o"}, }) f.BoolVar(&base.BoolVar{ Name: "no-clobber", Target: &c.FlagNoClobber, - Usage: "An option to stop downloads that would overwrite existing files", + Usage: "An option to stop downloads that would overwrite existing files.", Aliases: []string{"nc"}, }) return set