I know about getopts and argp. I just looked in boost and they have program_options as a library for parsing command-line parameters.
I'm not exactly sure which one to use. I know getopts is POSIX, while argp isn't but that doesn't matter to me. What matters is ease of use. Can you recommend (pros/cons?) one. I'm open to other libraries too.