diff --git a/src/tests/system/kernel/time_stats.cpp b/src/tests/system/kernel/time_stats.cpp index 9b9bd7e214..e2ce169c91 100644 --- a/src/tests/system/kernel/time_stats.cpp +++ b/src/tests/system/kernel/time_stats.cpp @@ -32,7 +32,16 @@ extern const char* __progname; static const char* kUsage = - "Usage: %s [ -h ] [ -o ] [ -s ] \n" + "Usage: %s [ ] \n" + "Executes the given command line and print an analysis of\n" + "the user and kernel times of all threads that ran during that time.\n" + "\n" + "Options:\n" + " -h, --help - Print this usage info.\n" + " -o - Print the results to file .\n" + " -s - Also perform a scheduling analysis over the time the\n" + " child process ran. This requires that scheduler kernel\n" + " tracing had been enabled at compile time.\n" ; @@ -487,7 +496,7 @@ main(int argc, const char* const* argv) }; opterr = 0; // don't print errors - int c = getopt_long(argc, (char**)argv, "ho:s", sLongOptions, NULL); + int c = getopt_long(argc, (char**)argv, "+ho:s", sLongOptions, NULL); if (c == -1) break;