Skip to content

Commit

Permalink
chore: update objc flags output
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Feb 7, 2021
1 parent 3066d15 commit ccf7d77
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion types/objc/objc.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,12 @@ func (f ImageInfoFlag) List() []string {
}

func (f ImageInfoFlag) String() string {
return strings.Join(f.List(), ", ")
return fmt.Sprintf(
"Flags = %s\n"+
"Swift = %s\n",
strings.Join(f.List(), ", "),
f.SwiftVersion(),
)
}

func (f ImageInfoFlag) SwiftVersion() string {
Expand Down

0 comments on commit ccf7d77

Please sign in to comment.