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.
This commit is contained in:
Johan Brandhorst-Satzkorn authored and GitHub committed 2023-06-22 07:31:21 -07:00
1 parent f698f2a442
commit 2ae007d61e
1 file changed
+3 -3
@@ -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