projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: show man page when using command's --help
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
calibrate.c
diff --git
a/src/bin/lttng/commands/calibrate.c
b/src/bin/lttng/commands/calibrate.c
index 118a398578bacc8dc181d43456324b0909d0fc55..ba3350fb60eeb8e6a982a6ffe26dc6aea0edeca5 100644
(file)
--- a/
src/bin/lttng/commands/calibrate.c
+++ b/
src/bin/lttng/commands/calibrate.c
@@
-16,7
+16,6
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <popt.h>
#include <stdio.h>
#define _LGPL_SOURCE
#include <popt.h>
#include <stdio.h>
@@
-173,7
+172,7
@@
int cmd_calibrate(int argc, const char **argv)
while ((opt = poptGetNextOpt(pc)) != -1) {
switch (opt) {
case OPT_HELP:
while ((opt = poptGetNextOpt(pc)) != -1) {
switch (opt) {
case OPT_HELP:
-
usage(stdout
);
+
SHOW_HELP(
);
goto end;
case OPT_TRACEPOINT:
ret = CMD_UNDEFINED;
goto end;
case OPT_TRACEPOINT:
ret = CMD_UNDEFINED;
This page took
0.024298 seconds
and
5
git commands to generate.