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");
}
break;
switch (i) {
case 'h':
- usage(argv[0]);
return -1;
break;
case 's':