I'm not sure how to correctly use optstring
in the getopt
function in C.
How should that string be formatted? I saw examples where letters are next to each other, sometimes separated by a semicolon, sometimes by two semicolons.
What does it mean?