]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Usage fixed. Sergey.
authorhadaq <hadaq>
Thu, 8 Jul 2010 09:16:53 +0000 (09:16 +0000)
committerhadaq <hadaq>
Thu, 8 Jul 2010 09:16:53 +0000 (09:16 +0000)
disks/disks.c

index 7d97c4a96469c3301edf5abb9ab0799606c2975a..82bad1713f67ef46cb3a4d0ff46037584132a80a 100644 (file)
@@ -37,7 +37,8 @@ typedef struct TheArgsS {
 
 static void usage(const char *progName)
 {
-        printf( "Usage: %s [-h|--help]         : Print this help.\n", progName);
+        printf( "Usage: %s\n", progName);
+       printf( "       [-h|--help]            : Print this help.\n");
        printf( "       [-s|--sleep <time>]    : Sleep time.\n");
        printf( "       [-D|--debug]           : Debug output.\n");
 }
@@ -73,7 +74,6 @@ static int argsFromCL(TheArgs *my, int argc, char *argv[])
                        break;
                switch (i) {
                case 'h':
-                       usage(argv[0]);
                        return -1;
                        break;
                case 's':