- OPT_SET_INT(0, "batch", &batch,
- N_("show info and content of objects fed from the standard input"),
- BATCH),
- OPT_SET_INT(0, "batch-check", &batch,
- N_("show info about objects fed from the standard input"),
- BATCH_CHECK),
+ { OPTION_CALLBACK, 0, "batch", &batch, NULL,
+ N_("show info and content of objects fed from the standard input"),
+ PARSE_OPT_NOARG, batch_option_callback },
+ { OPTION_CALLBACK, 0, "batch-check", &batch, NULL,
+ N_("show info about objects fed from the standard input"),
+ PARSE_OPT_NOARG, batch_option_callback },