add minimum size to process option

This commit is contained in:
Your Name
2022-02-02 11:14:41 -05:00
parent c352714bf9
commit 00d8e0b0a3

View File

@@ -108,7 +108,7 @@ func doSingleImage(f string, c config, s stats) stats {
if st.Size() < int64(c.AtLeast)*1024 {
s.StartingBytes += uint64(st.Size())
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
}