summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8f3a29b)
The man page states that ovs-vsctl supports extended vlog options (e.g.,
--log-file), but the executable did not. This commit adds it.
OPT_ONELINE,
OPT_NO_SYSLOG,
OPT_NO_WAIT,
OPT_ONELINE,
OPT_NO_SYSLOG,
OPT_NO_WAIT,
+ OPT_DRY_RUN,
+ VLOG_OPTION_ENUMS
};
static struct option long_options[] = {
{"db", required_argument, 0, OPT_DB},
};
static struct option long_options[] = {
{"db", required_argument, 0, OPT_DB},
{"dry-run", no_argument, 0, OPT_DRY_RUN},
{"oneline", no_argument, 0, OPT_ONELINE},
{"timeout", required_argument, 0, 't'},
{"dry-run", no_argument, 0, OPT_DRY_RUN},
{"oneline", no_argument, 0, OPT_ONELINE},
{"timeout", required_argument, 0, 't'},
- {"verbose", optional_argument, 0, 'v'},
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
- case 'v':
- vlog_set_verbosity(optarg);
- break;
case '?':
exit(EXIT_FAILURE);
case '?':
exit(EXIT_FAILURE);