ThrowTheSwitch / Unity

Simple Unit Testing for C
ThrowTheSwitch.org
MIT License
4.02k stars 969 forks source link

Add help option to test command line args #706

Closed Skinner927 closed 10 months ago

Skinner927 commented 10 months ago

When test binaries are run with unknown options or with the standard -h option, a help menu will print all available options.

This is much more convenient than having to dig through unity.c to find every option.

HaorongX commented 10 months ago

Great idea. I also found it confusing when I have to check unity.c to find these options. I think the usage should be added to docs at the same time. ^_^