cofyc/argparse

Description and Epilog?

Opened this issue · 1 comments

Any opinions on including a description and epilog? Since this is static library, its easy enough to just edit the source files, but it seems like it would be a commonly-used feature.

Since adding args to argparse_init() breaks backwards-compatibilty, would the best way to approach this be something line:

int argparse_describe(struct argparse *self, const char *description, const char *epilog) 

called after argparse_init() to set these in the new struct argparse fields?

Added in #6