add minimum size to process option
This commit is contained in:
parent
c352714bf9
commit
00d8e0b0a3
2
main.go
2
main.go
|
@ -108,7 +108,7 @@ func doSingleImage(f string, c config, s stats) stats {
|
||||||
if st.Size() < int64(c.AtLeast)*1024 {
|
if st.Size() < int64(c.AtLeast)*1024 {
|
||||||
s.StartingBytes += uint64(st.Size())
|
s.StartingBytes += uint64(st.Size())
|
||||||
if !c.Quiet {
|
if !c.Quiet {
|
||||||
fmt.Printf("Ignoring %s as %d bytes are below threashold", f, st.Size())
|
fmt.Printf("Ignoring %s as %d bytes are below threshold\n", f, st.Size())
|
||||||
}
|
}
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue