From: ellson Date: Mon, 20 Aug 2007 16:27:24 +0000 (+0000) Subject: write a comment into config indicating what a user is allowed to change X-Git-Tag: LAST_LIBGRAPH~32^2~5389 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0706ec67d49f1287fc0bcee144318413f30a94db;p=graphviz write a comment into config indicating what a user is allowed to change --- diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index b81f70998..654d502da 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -368,6 +368,12 @@ static void config_rescan(GVC_t *gvc, char *config_path) if (!f) { agerr(AGERR,"failed to open %s for write.\n", config_path); } + + fprintf(f, "# This file was generated by \"dot -c\" at time of install.\n\n"); + fprintf(f, "# You may temporarily disable a plugin by removing or commenting out\n"); + fprintf(f, "# a line in this file, or you can modify its \"quality\" value to affect\n"); + fprintf(f, "# default plugin selection.\n\n"); + fprintf(f, "# Manual edits to this file **will be lost** on upgrade.\n\n"); } libdir = gvconfig_libdir();