Skip to content

Commit

Permalink
version: change debug formatting to use fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dpb587 committed Jan 31, 2019
1 parent d426bfd commit b86a95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/goflags/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (c Version) Execute(_ []string) error {
ui.PrintBlock(append([]byte(c.Version.String()), '\n'))

if c.Debug {
ui.PrintBlock(append([]byte(fmt.Sprintf("go/%s (%s; %s)", runtime.Version(), runtime.GOOS, runtime.GOARCH)), '\n'))
ui.PrintBlock(append([]byte(fmt.Sprintf("go/%s (os %s; arch %s)", runtime.Version(), runtime.GOOS, runtime.GOARCH)), '\n'))
}
}

Expand Down

0 comments on commit b86a95c

Please sign in to comment.