ulib parse boolean arguments

This commit is contained in:
2025-09-17 22:07:42 +02:00
parent 6a8af7727e
commit ac1cc172f7
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ size_t argslen(void);
typedef struct {
char *shortname;
enum { ARG_STRING } expected_value;
enum { ARG_STRING, ARG_BOOL } expected_value;
void *ptr;
bool end;
} Arg;