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:
parent
bda8a5c60c
commit
dc02a71446
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user