papandreou / node-pngquant

The pngquant utility as a readable/writable stream
BSD 3-Clause "New" or "Revised" License
82 stars 23 forks source link

Add updated options in README usage and test #12

Closed perryh closed 7 years ago

perryh commented 7 years ago

The last options needs to be a '-' to stream from stdin/stdout when using any option other than the colors, so fixed up the usage example.

There was some confusion for me earlier and also someone else: https://github.com/papandreou/node-pngquant/issues/9

coveralls commented 7 years ago

Coverage Status

Coverage increased (+6.9%) to 87.129% when pulling 50f7bf7c3ef25cc6ce153c5cae3a50f409bffad8 on perryh:readme into 15898ac34aedf0dc9f100d4b7714bc0364c3fa77 on papandreou:master.

papandreou commented 7 years ago

Thanks! I think the requirement to add - was added in a recent version of pngquant. I hadn't noticed that.