From 2dec76f64415ed6154e7dd4a92138a2e2d08e90e Mon Sep 17 00:00:00 2001 From: Ramin Najjarbashi Date: Tue, 16 Jul 2019 09:57:13 +0430 Subject: [PATCH] Add description for show help and dynamic function --- optparse.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/optparse.h b/optparse.h index 3a577a7..17096b5 100644 --- a/optparse.h +++ b/optparse.h @@ -71,6 +71,8 @@ struct optparse_long { const char *longname; int shortname; enum optparse_argtype argtype; + void (*do_this_func_for_this_arg)(); + char * description_of_this_arg; }; /**