Actions
Bug #587
closedlttng enable-event --help is missing a short option description
Start date:
07/08/2013
Due date:
% Done:
100%
Estimated time:
Description
In lttng-tools-2.2.0\src\bin\lttng\commands\enable_events.c
, we have:
static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ ... {"filter", 'f', POPT_ARG_STRING, &opt_filter, OPT_FILTER, 0, 0}, {0, 0, 0, 0, 0, 0, 0} }; /* * usage */ static void usage(FILE *ofp) { fprintf(ofp, "usage: lttng enable-event NAME[,NAME2,...] [-k|-u] [OPTIONS] \n"); fprintf(ofp, "\n"); ... fprintf(ofp, "Event options:\n"); fprintf(ofp, " --filter \'expression\'\n"); fprintf(ofp, " Filter expression on event fields and context.\n");
The line:
fprintf(ofp, " --filter \'expression\'\n");
should be:
fprintf(ofp, "-f, --filter \'expression\'\n");
Updated by David Goulet over 11 years ago
- Status changed from New to Confirmed
- Target version set to 2.2
Please provide a patch. Thanks!
Updated by David Goulet over 11 years ago
- Status changed from Confirmed to Resolved
- % Done changed from 0 to 100
Applied in changeset f2611ab0d4e92bdbec5adc45fe766a6fe29ea208.
Actions