Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Change Profile List Format
Browse files Browse the repository at this point in the history
Change table from right aligned to left aligned.
  • Loading branch information
VijayanB committed Aug 7, 2020
1 parent 199a1c2 commit e8f4d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func displayProfiles() {
return
}
const padding = 3
w := tabwriter.NewWriter(os.Stdout, 0, 0, padding, ' ', tabwriter.AlignRight)
w := tabwriter.NewWriter(os.Stdout, 0, 0, padding, ' ', 0)
fmt.Fprintln(w, "Name\t\tUserName\t\tEndpoint-url\t")
fmt.Fprintf(w, "%s\t\t%s\t\t%s\t\n", "----", "--------", "------------")
for _, profile := range config.Profiles {
Expand Down

0 comments on commit e8f4d89

Please sign in to comment.