Commit d721611a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Better usage message.

parent 461b7e7c
/*
* $Id: ramkomd.c,v 0.24 1991/10/29 03:13:04 ceder Exp $
* $Id: ramkomd.c,v 0.25 1992/01/05 18:46:55 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -31,7 +31,7 @@
* It has grown! /ceder
*/
static char *rcsid = "$Id: ramkomd.c,v 0.24 1991/10/29 03:13:04 ceder Exp $";
static char *rcsid = "$Id: ramkomd.c,v 0.25 1992/01/05 18:46:55 ceder Exp $";
#include <m-config.h>
......@@ -294,12 +294,14 @@ main (int argc,
break;
default:
restart_kom("usage: ramkomd [options]\n");
restart_kom("usage: %s [-d] [-q] [-Ddir] [-pport] [-Pmuxport]"
" [-a]\n", argv[0]);
}
if (i < argc)
{
restart_kom("usage: ramkomd\n");
restart_kom("usage: %s [-d] [-q] [-Ddir] [-pport] [-Pmuxport]"
" [-a]\n", argv[0]);
}
signal(SIGHUP, sighandler_hup);
......@@ -319,7 +321,7 @@ main (int argc,
dump_exit_statistics();
log("ramkomd terminated normally.\n");
log("%s terminated normally.\n", argv[0]);
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment