From: erg Date: Fri, 6 Nov 2009 18:36:51 +0000 (+0000) Subject: Fix command name in usage statement X-Git-Tag: LAST_LIBGRAPH~32^2~1582 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03540e06ba14660d7f994fd0172629ebdd5b63f4;p=graphviz Fix command name in usage statement --- diff --git a/cmd/tools/gml2gv.c b/cmd/tools/gml2gv.c index 3eb1b6e5b..813816680 100644 --- a/cmd/tools/gml2gv.c +++ b/cmd/tools/gml2gv.c @@ -78,14 +78,14 @@ static FILE *openFile(char *name, char *mode) } -static char *useString = "Usage: nop [-p?] \n\ +static char *useString = "Usage: %s [-p?] \n\ -o : output to (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); }