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:
Stefano Sabatini
2011-06-05 00:03:59 +02:00
parent 96f931adf7
commit b4af3cf347
3 changed files with 14 additions and 17 deletions

View File

@@ -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;