Commit def342fd authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Fixed up version reporting on the console

parent 427951ac
......@@ -67,7 +67,7 @@ uint64_t statsTimeDelayed = 0;
/* Print out our usage */
static void printUsage(char **argv) {
printf("Usage: %s [options] [command]\n",argv[0]);
printf("%s - Copyright (c) 2012-2014, AllWorldIT\n",PACKAGE_STRING);
printf("Usage: %s [-c PCNT] [-l LOAD] [[-p PID | -P PID] | [--] COMMAND ...]\n",argv[0]);
printf("\n");
printf("Options:\n");
......@@ -657,7 +657,7 @@ int main (int argc, char *argv[]) {
verbose++;
break;
case 'V':
printf("cputool %s\n",VERSION);
printf("%s\n",PACKAGE_STRING);
return 0;
case 'h':
printUsage(argv);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment