#666248 libpopt-dev: apparently wrong types in the manpage

Package:
libpopt-dev
Source:
popt
Description:
lib for parsing cmdline parameters - development files
Submitter:
Christoph Anton Mitterer
Date:
2013-11-25 17:39:22 UTC
Severity:
minor
#666248#5
Date:
2012-03-29 23:37:50 UTC
From:
To:
Hi.

The manpage has the following table in the section "1. THE OPTION TABLE":
       Value               Description                        arg Type
       POPT_ARG_NONE       No argument expected               int
       POPT_ARG_STRING     No type checking to be performed   char *
       POPT_ARG_ARGV       No type checking to be performed   char **
       POPT_ARG_SHORT      An short argument is expected      short
       POPT_ARG_INT        An integer argument is expected    int
       POPT_ARG_LONG       A long integer is expected         long
       POPT_ARG_LONGLONG   A long long integer is expected    long long
       POPT_ARG_VAL        Integer value taken from val       int
       POPT_ARG_FLOAT      An float argument is expected      float
       POPT_ARG_DOUBLE     A double argument is expected      double

Apparently all types but char* and char** (i.e. int, short, long,
long long, float and double) need to be pointers to the respective types.


Cheers,
Chris.