From: ellson Date: Fri, 23 Oct 2009 17:33:51 +0000 (+0000) Subject: improve error message in the case of dot not finding dot_layout plugin X-Git-Tag: LAST_LIBGRAPH~32^2~1635 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1680c94c531270874c294f83339d4e040bc853a9;p=graphviz improve error message in the case of dot not finding dot_layout plugin --- diff --git a/lib/common/input.c b/lib/common/input.c index 34fe1e403..e669a711b 100644 --- a/lib/common/input.c +++ b/lib/common/input.c @@ -261,6 +261,9 @@ void dotneato_args_initialize(GVC_t * gvc, int argc, char **argv) i = gvlayout_select(gvc, gvc->common.cmdname); if (i == NO_SUPPORT) { fprintf(stderr, "There is no layout engine support for \"%s\"\n", gvc->common.cmdname); + if (streq(gvc->common.cmdname, "dot")) { + fprintf(stderr, "Perhaps \"dot -c\" needs to be run by root to register the plugins?\n"); + } exit(1); }