mirror of https://github.com/getdnsapi/getdns.git
Default is stub when compiling stub only
This commit is contained in:
parent
b5d1dfd9e7
commit
a58037904f
|
@ -458,7 +458,13 @@ print_usage(FILE *out, const char *progname)
|
||||||
{
|
{
|
||||||
fprintf(out, "usage: %s [<option> ...] \\\n"
|
fprintf(out, "usage: %s [<option> ...] \\\n"
|
||||||
"\t\t[@<upstream> ...] [+<extension> ...] [<name>] [<type>]\n", progname);
|
"\t\t[@<upstream> ...] [+<extension> ...] [<name>] [<type>]\n", progname);
|
||||||
fprintf(out, "\ndefault mode: recursive, synchronous resolution of NS record using UDP with TCP fallback\n");
|
fprintf(out, "\ndefault mode: "
|
||||||
|
#ifdef HAVE_LIBUNBOUND
|
||||||
|
"recursive"
|
||||||
|
#else
|
||||||
|
"stub"
|
||||||
|
#endif
|
||||||
|
", synchronous resolution of NS record using UDP with TCP fallback\n");
|
||||||
fprintf(out, "\nupstreams: @<ip>[%%<scope_id>][@<port>][#<tls port>][~<tls name>][^<tsig spec>]\n");
|
fprintf(out, "\nupstreams: @<ip>[%%<scope_id>][@<port>][#<tls port>][~<tls name>][^<tsig spec>]\n");
|
||||||
fprintf(out, "\ntsig spec: [<algorithm>:]<name>:<secret in Base64>\n");
|
fprintf(out, "\ntsig spec: [<algorithm>:]<name>:<secret in Base64>\n");
|
||||||
fprintf(out, "\nextensions:\n");
|
fprintf(out, "\nextensions:\n");
|
||||||
|
|
Loading…
Reference in New Issue