X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fmain.c;h=1e22885389947ed03be9ea01508c7d36d236f0b4;hb=320a5588a8f195ee982722729c2b8dc99c68756f;hp=aaf1e0d3efc7caaa49a355e695a574ea15065cdf;hpb=926276659270c80de3df1bdcf8059d6a6d4b1054;p=umurmur.git diff --git a/src/main.c b/src/main.c index aaf1e0d..1e22885 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,5 @@ -/* Copyright (C) 2009-2010, Martin Johansson - Copyright (C) 2005-2010, Thorvald Natvig +/* Copyright (C) 2009-2011, Martin Johansson + Copyright (C) 2005-2011, Thorvald Natvig All rights reserved. @@ -29,7 +29,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - #include #include #include @@ -218,16 +217,16 @@ void setscheduler() void printhelp() { printf("uMurmur version %s. Mumble protocol %d.%d.%d\n", UMURMUR_VERSION, PROTVER_MAJOR, PROTVER_MINOR, PROTVER_PATCH); - printf("Usage: umurmurd [-d] [-p ] [-c ] [-h]\n"); - printf(" -d - Do not daemonize\n"); - printf(" -p - Write PID to this file\n"); - printf(" -c - Specify configuration file\n"); + printf("Usage: umurmurd [-d] [-r] [-h] [-p ] [-c ] [-a ] [-b ]\n"); + printf(" -d - Do not daemonize - run in foreground.\n"); #ifdef _POSIX_PRIORITY_SCHEDULING printf(" -r - Run with realtime priority\n"); #endif + printf(" -h - Print this help\n"); + printf(" -p - Write PID to this file\n"); + printf(" -c - Specify configuration file (default %s)\n", DEFAULT_CONFIG); printf(" -a
- Bind to IP address\n"); printf(" -b - Bind to port\n"); - printf(" -h - Print this help\n"); exit(0); }