diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2011-11-03 14:17:55 +0000 |
---|---|---|
committer | José Fonseca <jose.r.fonseca@gmail.com> | 2011-11-03 14:17:55 +0000 |
commit | 09879ecc0785138789a535ceb43d788606a791e3 (patch) | |
tree | 504caa0cd8fa35bac28d25c4f5579c2699d7b478 /cli | |
parent | efb9e170ed59dc5fc205bf890e9954fdf0a0cafc (diff) |
Make findFile non-static, given it will be necessary for other commands.
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli_trace.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cli/cli_trace.cpp b/cli/cli_trace.cpp index 0d1f740..b96dca8 100644 --- a/cli/cli_trace.cpp +++ b/cli/cli_trace.cpp @@ -41,16 +41,17 @@ static const char *synopsis = "Generate a new trace by executing the given progr static void usage(void) { - std::cout << "usage: apitrace trace <program> [<args> ...]\n" + std::cout << "usage: apitrace trace PROGRAM [ARGS ...]\n" << synopsis << "\n" "\n" " The given program will be executed with the given arguments.\n" " During execution, all OpenGL calls will be captured to a trace\n" - " file named <program>.trace. That trace file can then be used\n" + " file. That trace file can then be used\n" " with other apitrace utilities for replay or analysis.\n" "\n" " -v, --verbose verbose output\n" - " -o, --output TRACE specify output trace file\n"; + " -o, --output TRACE specify output trace file;\n" + " default is `PROGRAM.trace`\n"; } static int |