bbc / audiowaveform

C++ program to generate waveform data and render waveform images from audio files
https://waveform.prototyping.bbc.co.uk
GNU General Public License v3.0
1.94k stars 242 forks source link

Misleading error message when using `--pixels-per-second` and `--end` #144

Closed deanobarnett closed 3 years ago

deanobarnett commented 3 years ago

Problem

When using audiowaveform with the --pixels-per-second and the --end flags, I receive the following error.

Specify either end time or zoom level, but not both

This is a little misleading as the --zoom option is not present.

Expected

I would expect to see an error message like:

Specify either end time or pixels per second, but not both
chrisn commented 3 years ago

Good suggestion, thank you. I have now clarified the error messages.