popt
popt copied to clipboard
C library for parsing command line parameters
using popt version: mingw-w64-x86_64-popt 1.18-1 using build system: MSYS2 In the attached code ([test.zip](https://github.com/rpm-software-management/popt/files/9149354/test.zip)), option type is "POPT_ARG_NONE" for the option "help", but when I print information in the callback,...
There is no way to find out the library version programmatically. Could we improve it?
When calling the callback, the value passed in arg is only valid if the option->argInfo being evaluated is not POPT_ARG_NONE. Fixes: #76
See https://github.com/rpm-software-management/popt/pull/119 if you need motivation. That's getting a little too arcane even for this graying old-schooler.
UBSAN is probably okay even now, but the tests fail if ASAN is enabled due to some leak. So the task here involves chasing down and fixing the leak, and...