summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
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}
};