cmdutils: remove unnecessary OPT_DUMMY implementation
The -i INPUT option can be implemented more cleanly by using a function option, which can easily be done now that the parse_arg_function passed to parse_options has a standard signature.
This commit is contained in:
@@ -128,7 +128,6 @@ typedef struct {
|
||||
#define OPT_INT64 0x0400
|
||||
#define OPT_EXIT 0x0800
|
||||
#define OPT_DATA 0x1000
|
||||
#define OPT_DUMMY 0x2000
|
||||
union {
|
||||
int *int_arg;
|
||||
char **str_arg;
|
||||
|
Reference in New Issue
Block a user