From 8c331d580a60c465e0b50380bceb2e51936232ef Mon Sep 17 00:00:00 2001 From: Sara Dickinson Date: Wed, 13 Sep 2017 15:48:42 +0100 Subject: [PATCH] Improve usage of getdns to make file extension clearer --- src/tools/getdns_query.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/getdns_query.c b/src/tools/getdns_query.c index c69958bd..5b950af8 100644 --- a/src/tools/getdns_query.c +++ b/src/tools/getdns_query.c @@ -215,7 +215,8 @@ print_usage(FILE *out, const char *progname) fprintf(out, "\t-C\t\n"); fprintf(out, "\t\tRead settings from config file \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) { 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");