travisgoodspeed / md380tools

Python tools and patched firmware for the TYT-MD380
804 stars 245 forks source link

Print usage in md380-tool if parameters used wrong #872

Closed jmerdich closed 6 years ago

jmerdich commented 6 years ago

md380-tool succeeds silently if called with an invalid command (eg. md380-tool flaashdump foo.bin) or a valid command missing arguments (md380-tool flashdump). Print usage then to inform the user that nothing happened and they should call it properly.

ghost commented 6 years ago

Thanks!