]> granicus.if.org Git - graphviz/commitdiff
Fix command name in usage statement
authorerg <devnull@localhost>
Fri, 6 Nov 2009 18:36:51 +0000 (18:36 +0000)
committererg <devnull@localhost>
Fri, 6 Nov 2009 18:36:51 +0000 (18:36 +0000)
cmd/tools/gml2gv.c

index 3eb1b6e5b5f4fabd2f4031eb72cfc76c8294c48f..813816680dea76a54c5798c69d61cf5e486b09e9 100644 (file)
@@ -78,14 +78,14 @@ static FILE *openFile(char *name, char *mode)
 }
 
 
-static char *useString = "Usage: nop [-p?] <files>\n\
+static char *useString = "Usage: %s [-p?] <files>\n\
   -o<file>  : output to <file> (stdout)\n\
   -? - print usage\n\
 If no files are specified, stdin is used\n";
 
 static void usage(int v)
 {
-    printf(useString);
+    printf(useString, CmdName);
     exit(v);
 }