CmdParser improvements

This commit is contained in:
Krzosa Karol
2024-03-04 17:28:57 +01:00
parent 3f21a6722e
commit bc12273f2a
2 changed files with 28 additions and 13 deletions

View File

@@ -22,10 +22,14 @@ struct CmdDecl {
typedef struct CmdParser CmdParser;
struct CmdParser {
int argc;
char **argv;
MA_Arena *arena;
int argc;
char **argv;
MA_Arena *arena;
const char *custom_help;
CmdDecl *fdecl;
CmdDecl *ldecl;
bool require_one_standalone_arg;
S8_List args;
};