From afc822563cb01b2ece16e213e5d44a2f3afe1211 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Sat, 31 Mar 2018 21:32:53 +0200 Subject: [PATCH] FIX: fixed missing prototype in .h file --- src/argparse.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/argparse.h b/src/argparse.h index 25aa021..2266e39 100644 --- a/src/argparse.h +++ b/src/argparse.h @@ -144,6 +144,7 @@ struct arg_parse_ctx * argparse_init(); void argparse_free(struct arg_parse_ctx *ctx); ///< free the parsing context at program end int argparse_add_command(struct arg_parse_ctx *ctx, struct arg_parse_cmd *cmd); ///< add a commandline command to the context int argparse_add_string(struct arg_parse_ctx *ctx, struct arg_str *str); ///< add a string argument to the context +int argparse_add_flag(struct arg_parse_ctx *ctx, struct arg_flag *flag); ///< add a flag argument to the context int argparse_parse(struct arg_parse_ctx *ctx,int argc, char **argv); ///< parse the given commandline in the context #endif