Print Corso version on one line (#2269)

## Description

Don't split the Corso version information across lines. This is unexpected.

## Does this PR need a docs update or release note?

- [x]  No 

## Type of change

- [x] 🧹 Tech Debt/Cleanup
This commit is contained in:
Niraj Tolia 2023-01-25 21:27:45 -08:00 committed by GitHub
parent bda8a5c60c
commit dc02a71446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ var corsoCmd = &cobra.Command{
func handleCorsoCmd(cmd *cobra.Command, args []string) error { func handleCorsoCmd(cmd *cobra.Command, args []string) error {
v, _ := cmd.Flags().GetBool("version") v, _ := cmd.Flags().GetBool("version")
if v { if v {
print.Outf(cmd.Context(), "Corso\nversion: "+version.Version) print.Outf(cmd.Context(), "Corso version: "+version.Version)
return nil return nil
} }