The `getopt` and `getopt_long` functions automate some of the chores involved in parsing typical unix command line options.
The getopt and getopt_long functions automate some of the chores involved in parsing typical unix command line options.
For details, please read here.