[tuxdroid-svn] r369 - daemon/trunk
Status: Beta
Brought to you by:
ks156
From: neimad <c2m...@c2...> - 2007-06-12 04:46:17
|
Author: neimad Date: 2007-06-12 06:46:12 +0200 (Tue, 12 Jun 2007) New Revision: 369 Modified: daemon/trunk/main.c Log: * Nicer usage() function. Modified: daemon/trunk/main.c =================================================================== --- daemon/trunk/main.c 2007-06-11 16:27:12 UTC (rev 368) +++ daemon/trunk/main.c 2007-06-12 04:46:12 UTC (rev 369) @@ -302,18 +302,18 @@ /************************************************************************ */ static void usage(void) { - printf("usage : tuxdaemon [options]\n"); - printf("options:\n"); - printf(" -d start in daemon mode\n"); - printf(" -lsys log to syslog\n"); - printf(" -ltux log to /var/log/tuxdaemon\n"); - printf(" -lstd log to stdout & stderr\n"); - printf(" -v view in shell (deprecated, use -lstd instead)\n"); - printf(" -debug start in debug mode\n"); - printf(" -st show the structure of the usb frames\n"); - printf(" -sr show all raw status\n"); - printf(" -si show only invalid raw status\n"); - printf(" -h show this usage list\n"); + printf("usage : tuxdaemon [options]\n" + "options:\n" + " -d start in daemon mode\n" + " -lsys log to syslog\n" + " -ltux log to /var/log/tuxdaemon\n" + " -lstd log to stdout & stderr\n" + " -v view in shell (deprecated, use -lstd instead)\n" + " -debug start in debug mode\n" + " -st show the structure of the usb frames\n" + " -sr show all raw status\n" + " -si show only invalid raw status\n" + " -h show this usage list\n"); } /************************************************************************ */ |