]> granicus.if.org Git - graphviz/commitdiff
Fix bug 1018
authorerg <devnull@localhost>
Mon, 11 Sep 2006 18:33:58 +0000 (18:33 +0000)
committererg <devnull@localhost>
Mon, 11 Sep 2006 18:33:58 +0000 (18:33 +0000)
cmd/dot/dot.c
lib/common/input.c

index 8d7dbf42bb14c6bdedf901e9b91b54074c6f40d8..e79123c6a27d57f688fc79cfe616d69e64e8792c 100644 (file)
@@ -45,7 +45,7 @@
 #endif
 
 char *Info[] = {
-    "dot",                     /* Program */
+    "Graphviz",                        /* Program */
     VERSION,                   /* Version */
     BUILDDATE                  /* Build Date */
 };
index 2ee60b5e3e4d00b67f6540aa6370ecaeeea61b78..c0b5beac963e2128f9dfbef4867ac4aa14c5be11 100644 (file)
@@ -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':