Flag is 'formats', not 'format

This commit is contained in:
swgillespie
2014-03-29 15:17:27 -07:00
parent ec409e51a1
commit 2d07120891

View File

@@ -58,7 +58,7 @@ func (p *PyPI) BuildFormatStr() string {
// omit the format string completely. // omit the format string completely.
return "" return ""
} }
fmtStr := "--format " fmtStr := "--formats "
for i := range p.Formats { for i := range p.Formats {
fmtStr += p.Formats[i] + "," fmtStr += p.Formats[i] + ","
} }