Commit ab80e263 authored by Andreas Hasenack's avatar Andreas Hasenack Committed by Mark Andrews
Browse files

add -U to preparse and usage

(cherry picked from commit 66561869)
parent 7df65ab9
...@@ -158,6 +158,7 @@ show_usage(void) { ...@@ -158,6 +158,7 @@ show_usage(void) {
" -s a SERVFAIL response should stop query\n" " -s a SERVFAIL response should stop query\n"
" -t specifies the query type\n" " -t specifies the query type\n"
" -T enables TCP/IP mode\n" " -T enables TCP/IP mode\n"
" -U enables UDP mode\n"
" -v enables verbose output\n" " -v enables verbose output\n"
" -V print version number and exit\n" " -V print version number and exit\n"
" -w specifies to wait forever for a reply\n" " -w specifies to wait forever for a reply\n"
...@@ -635,28 +636,29 @@ pre_parse_args(int argc, char **argv) { ...@@ -635,28 +636,29 @@ pre_parse_args(int argc, char **argv) {
break; break;
case 'a': break; case 'a': break;
case 'c': break; case 'c': break;
case 'C': break;
case 'd': break; case 'd': break;
case 'D':
if (debugging)
debugtiming = true;
debugging = true;
break;
case 'i': break; case 'i': break;
case 'l': break; case 'l': break;
case 'n': break; case 'n': break;
case 'N': break;
case 'r': break; case 'r': break;
case 'R': break;
case 's': break; case 's': break;
case 't': break; case 't': break;
case 'T': break;
case 'U': break;
case 'v': break; case 'v': break;
case 'V': case 'V':
version(); version();
exit(0); exit(0);
break; break;
case 'w': break; case 'w': break;
case 'C': break;
case 'D':
if (debugging)
debugtiming = true;
debugging = true;
break;
case 'N': break;
case 'R': break;
case 'T': break;
case 'W': break; case 'W': break;
default: default:
show_usage(); show_usage();
......
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