waywardgeek / infnoise

The world's easiest TRNG to get right
Creative Commons Zero v1.0 Universal
732 stars 100 forks source link

Use getopt_long() for parsing command options #63

Closed jj1bdx closed 6 years ago

jj1bdx commented 6 years ago

This patch uses getopt_long(), which makes the code easier to read. Short options are added as well as the long options compatible with the original source code.