man page mis-documents `poptCallbackType`
FGasper opened this issue · 1 comments
FGasper commented
In popt.h
:
typedef void (*poptCallbackType) (poptContext con,
enum poptCallbackReason reason,
const struct poptOption * opt,
const char * arg,
const void * data);
popt.3
has:
.BI "void poptCallbackType(poptContext con,
.BI " const struct poptOption * opt,
.BI " const char * arg, void * data);
The man page needs the reason
argument added.
Thank you!
FGasper commented
Also the const
qualifier from the header should probably be in the man page.