pkuvcl / davs2

An open-source decoder of AVS2-P2/IEEE1857.4 video coding standard
GNU General Public License v2.0
129 stars 52 forks source link

Using option --help fails (and no option does not fail) #11

Closed jonassmedegaard closed 5 years ago

jonassmedegaard commented 5 years ago

Executing davs2 -h or `davs2 --help`` emits help text twice and then fails with "missing input file."

Execting davs2emits help once and succeeds.

I would expect --help to succeed (emitting help only once), and no option to fail.