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,12 +1907,9 @@ format_name(char *buf, int size, int trunc_dns, int ref, uint32_t ref_id,
static int static int
check_for_verbose_flag(char *line) check_for_verbose_flag(char *line)
{ {
char *p = line; if (!csv_mode && !strcmp(line, "-v"))
if (!strcmp(p, "-v")) {
return 1; return 1;
} else { return 0;
return 0;
}
} }
/* ================================================== */ /* ================================================== */