break;
switch (c) {
- case 0:
- break;
case 'c':
/* config file */
strncpy(config.dhcpdconf_file, optarg,
/* Output sorting option */
sorts = strlen(optarg);
if (5 < sorts) {
- warn("main: only first 5 sort orders will be used");
+ warnx("main: only first 5 sort orders will be used");
strncpy(config.sort, optarg, (size_t) 5);
sorts = 5;
} else {
case 'c':
output_analysis = output_csv;
break;
- case 's':
- /* output_analysis = output_snmp; */
- output_analysis = output_txt;
- break;
default:
errx(EXIT_FAILURE, "main: unknown ouput format `%c'",
config.output_format[0]);