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).
Merge pull request #4 from pinotree/argp-fix

fix definition of argp parsing functions