Improve usage of getdns to make file extension clearer

This commit is contained in:
Sara Dickinson 2017-09-13 15:48:42 +01:00
parent f0190e4f03
commit 8c331d580a
1 changed files with 2 additions and 1 deletions

View File

@ -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");