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");
Actions