Skip to content

Commit d650f0a

Browse files
committed
fix spacing and project displayname in oc projects output
1 parent 1b04cb2 commit d650f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/cli/cmd/projects.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (o ProjectsOptions) RunProjects() error {
145145
}
146146
}
147147
if len(displayName) > 0 && displayName != project.Name && !o.DisplayShort {
148-
msg += fmt.Sprintf("\n "+asterisk+"%s (%s)", displayName, project.Name)
148+
msg += fmt.Sprintf("\n"+asterisk+"%s - %s", project.Name, displayName)
149149
} else {
150150
if o.DisplayShort && count == 1 {
151151
linebreak = ""

0 commit comments

Comments
 (0)