client: ignore -v option in csv mode

This commit is contained in:
Miroslav Lichvar 2016-03-18 14:28:53 +01:00
parent 5833be6ccf
commit eb329e9f52

View file

@ -1907,13 +1907,10 @@ format_name(char *buf, int size, int trunc_dns, int ref, uint32_t ref_id,
static int
check_for_verbose_flag(char *line)
{
char *p = line;
if (!strcmp(p, "-v")) {
if (!csv_mode && !strcmp(line, "-v"))
return 1;
} else {
return 0;
}
}
/* ================================================== */