fix definition of argp parsing functions

The return value should be `error_t`, not simply `int` (even if usually `error_t` is a typedef for `int`).