static const char afsdb_query_type[] = "afsdb:";
static key_serial_t key;
static int debug_mode;
-static bool one_addr_only = true;
static unsigned int output_version = 0;
/*
} else if (strcmp(k, "ipv6") == 0) {
ctx->want_ipv4_addrs = false;
ctx->want_ipv6_addrs = true;
- } else if (strcmp(k, "list") == 0) {
- one_addr_only = false;
} else if (strcmp(k, "srv") == 0) {
+ if (!val)
+ error("Option srv missing version");
output_version = atoi(val);
}
} while (*options);
openlog(prog, 0, LOG_DAEMON);
- while ((ret = getopt_long(argc, argv, "Dvc:N:o:V:", long_options, NULL)) != -1) {
+ while ((ret = getopt_long(argc, argv, "Dvc:N:o:V", long_options, NULL)) != -1) {
switch (ret) {
case 'c':
if (filec >= 9) {