getopt() but friendlier
Summary
This post argues for a friendlier CLI argument parsing approach in C, proposing an iterator-style pattern to replace getopt(), and provides code sketches and a practical implementation plan. It discusses design decisions around short/long options, argument handling, and re-entrancy, with a link to a single-header header arg_get.h.