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.
return ""
}
fmtStr := "--format "
fmtStr := "--formats "
for i := range p.Formats {
fmtStr += p.Formats[i] + ","
}