summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/asr/bin/res_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/asr/bin/res_query.c')
-rw-r--r--src/regress/lib/libc/asr/bin/res_query.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/regress/lib/libc/asr/bin/res_query.c b/src/regress/lib/libc/asr/bin/res_query.c
index 3565eeebed..ca95a89a7c 100644
--- a/src/regress/lib/libc/asr/bin/res_query.c
+++ b/src/regress/lib/libc/asr/bin/res_query.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_query.c,v 1.2 2017/03/09 07:56:38 eric Exp $ */ 1/* $OpenBSD: res_query.c,v 1.3 2018/12/15 15:16:12 eric Exp $ */
2/* 2/*
3 * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> 3 * Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
4 * 4 *
@@ -72,8 +72,11 @@ main(int argc, char *argv[])
72 dflag = 0; 72 dflag = 0;
73 qflag = 0; 73 qflag = 0;
74 74
75 while((ch = getopt(argc, argv, "deqt:")) != -1) { 75 while((ch = getopt(argc, argv, "R:deqt:")) != -1) {
76 switch(ch) { 76 switch(ch) {
77 case 'R':
78 parseresopt(optarg);
79 break;
77 case 'd': 80 case 'd':
78 dflag = 1; 81 dflag = 1;
79 break; 82 break;