summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-02-18 15:33:12 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-02-18 15:33:12 +0000
commit2e93bcb671b82e75289cdd868bb5d4f9fc2c9134 (patch)
tree2c0e2eaf1be616eb204e19ca3a99dfa9e31f71da /cli
parentf028a8fe0d8bef4a0c27115798d3e9d11703b09b (diff)
Minor cleanup to apitrace trim command line option parsing.
Diffstat (limited to 'cli')
-rw-r--r--cli/cli_trim.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cli/cli_trim.cpp b/cli/cli_trim.cpp
index 73c18d1f..2ea52510 100644
--- a/cli/cli_trim.cpp
+++ b/cli/cli_trim.cpp
@@ -46,9 +46,9 @@ usage(void)
<< "usage: apitrace trim [OPTIONS] TRACE_FILE...\n"
<< synopsis << "\n"
"\n"
- " -h, --help show this help message and exit\n"
- " --calls=CALLSET only trim specified calls\n"
- " -o --output=TRACE_FILE output trace file\n"
+ " -h, --help show this help message and exit\n"
+ " --calls=CALLSET only trim specified calls\n"
+ " -o, --output=TRACE_FILE output trace file\n"
"\n"
;
}
@@ -64,7 +64,6 @@ const static struct option
longOptions[] = {
{"help", no_argument, 0, 'h'},
{"calls", required_argument, 0, CALLS_OPT},
- {"calls", required_argument, 0, CALLS_OPT},
{"output", optional_argument, 0, 'o'},
{0, 0, 0, 0}
};