mirror of https://github.com/getdnsapi/getdns.git
Improve usage of getdns to make file extension clearer
This commit is contained in:
parent
f0190e4f03
commit
8c331d580a
|
@ -215,7 +215,8 @@ print_usage(FILE *out, const char *progname)
|
||||||
fprintf(out, "\t-C\t<filename>\n");
|
fprintf(out, "\t-C\t<filename>\n");
|
||||||
fprintf(out, "\t\tRead settings from config file <filename>\n");
|
fprintf(out, "\t\tRead settings from config file <filename>\n");
|
||||||
fprintf(out, "\t\tThe getdns context will be configured with these settings\n");
|
fprintf(out, "\t\tThe getdns context will be configured with these settings\n");
|
||||||
fprintf(out, "\t\tThe file must be in JSON or YAML dict format.\n");
|
fprintf(out, "\t\tThe file must be in YAML format (with extension of '.yaml')\n");
|
||||||
|
fprintf(out, "\t\tor JSON dict format (with extension '.conf')\n");
|
||||||
if (i_am_stubby) {
|
if (i_am_stubby) {
|
||||||
fprintf(out, "\t\tBy default, configuration is first read from");
|
fprintf(out, "\t\tBy default, configuration is first read from");
|
||||||
fprintf(out, "\n\t\t\"/etc/stubby.conf\" and then from \"$HOME/.stubby.conf\"\n");
|
fprintf(out, "\n\t\t\"/etc/stubby.conf\" and then from \"$HOME/.stubby.conf\"\n");
|
||||||
|
|
Loading…
Reference in New Issue