From: erg Date: Mon, 11 Sep 2006 18:33:58 +0000 (+0000) Subject: Fix bug 1018 X-Git-Tag: LAST_LIBGRAPH~32^2~5892 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5e8c1ccf9af876a536f38c7fbf0cf0f2e4ba5ea;p=graphviz Fix bug 1018 --- diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index 8d7dbf42b..e79123c6a 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -45,7 +45,7 @@ #endif char *Info[] = { - "dot", /* Program */ + "Graphviz", /* Program */ VERSION, /* Version */ BUILDDATE /* Build Date */ }; diff --git a/lib/common/input.c b/lib/common/input.c index 2ee60b5e3..c0b5beac9 100644 --- a/lib/common/input.c +++ b/lib/common/input.c @@ -249,8 +249,9 @@ void dotneato_args_initialize(GVC_t * gvc, int argc, char **argv) } break; case 'V': - fprintf(stderr, "%s version %s (%s)\n", - gvc->common.info[0], gvc->common.info[1], gvc->common.info[2]); + fprintf(stderr, "%s - %s version %s (%s)\n", + gvc->common.cmdname, gvc->common.info[0], + gvc->common.info[1], gvc->common.info[2]); exit(0); break; case 'l':