From 03540e06ba14660d7f994fd0172629ebdd5b63f4 Mon Sep 17 00:00:00 2001 From: erg Date: Fri, 6 Nov 2009 18:36:51 +0000 Subject: [PATCH] Fix command name in usage statement --- cmd/tools/gml2gv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.40.0