From 2e93bcb671b82e75289cdd868bb5d4f9fc2c9134 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 18 Feb 2012 15:33:12 +0000 Subject: [PATCH] Minor cleanup to apitrace trim command line option parsing. --- cli/cli_trim.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cli/cli_trim.cpp b/cli/cli_trim.cpp index 73c18d1..2ea5251 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} }; -- 2.45.2