Zerocopter / J2J

Small utility to convert certain Java serialized objects into JSON
BSD 2-Clause "Simplified" License
9 stars 2 forks source link

[Feature Request] Handle missing command line arguments gracefully; add runtime help. #3

Open dreirund opened 1 year ago

dreirund commented 1 year ago

J2J.py executed with no arguments results in a python exception.

Please handle misformed command lines gracefully, e.g. by saying that arguments are missing and exiting gracefully with an exitcode >0.

Also, consider adding a usage information when no command line argument or --help is passed.

Regards!

Staatsgeheim commented 1 year ago

Hi dreirund,

Thanks for your report I will add it to the list!

Kind regards, Maarten Boone