mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 13:26:21 +00:00
Command argument parsers set result argument
This commit is contained in:
@@ -43,7 +43,7 @@ typedef struct cmd_help_t {
|
||||
typedef struct cmd_t {
|
||||
gchar *cmd;
|
||||
gboolean (*func)(gchar **args, struct cmd_help_t help);
|
||||
gchar** (*parser)(const char * const inp, int min, int max);
|
||||
gchar** (*parser)(const char * const inp, int min, int max, gboolean *result);
|
||||
int min_args;
|
||||
int max_args;
|
||||
void (**setting_func)(void);
|
||||
|
||||
Reference in New Issue
Block a user