Skip to content
Snippets Groups Projects
Commit d721611a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Better usage message.

parent 461b7e7c
No related branches found
No related tags found
No related merge requests found
/* /*
* $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. * Copyright (C) 1991 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* It has grown! /ceder * 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> #include <m-config.h>
...@@ -294,12 +294,14 @@ main (int argc, ...@@ -294,12 +294,14 @@ main (int argc,
break; break;
default: default:
restart_kom("usage: ramkomd [options]\n"); restart_kom("usage: %s [-d] [-q] [-Ddir] [-pport] [-Pmuxport]"
" [-a]\n", argv[0]);
} }
if (i < argc) 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); signal(SIGHUP, sighandler_hup);
...@@ -319,7 +321,7 @@ main (int argc, ...@@ -319,7 +321,7 @@ main (int argc,
dump_exit_statistics(); dump_exit_statistics();
log("ramkomd terminated normally.\n"); log("%s terminated normally.\n", argv[0]);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment