Commit 1a69e004 authored by Jan Hák's avatar Jan Hák Committed by Daniel Salzman
Browse files

kdig: don't show section names when +noall option is set

fixes #749
parent 5a6ec971
......@@ -293,6 +293,7 @@ static int opt_all(const char *arg, void *query)
query_t *q = query;
q->style.show_header = true;
q->style.show_section = true;
q->style.show_edns = true;
q->style.show_question = true;
q->style.show_answer = true;
......@@ -309,6 +310,7 @@ static int opt_noall(const char *arg, void *query)
query_t *q = query;
q->style.show_header = false;
q->style.show_section = false;
q->style.show_edns = false;
q->style.show_query = false;
q->style.show_question = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment