projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add --enable-embedded-help option to embed --help messages in binaries
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
destroy.c
diff --git
a/src/bin/lttng/commands/destroy.c
b/src/bin/lttng/commands/destroy.c
index e0bafc475b6451cd4e3d0c8cd6b79583609936f4..0e603e13c5c5904b6dca49c2541c8da02bed9b92 100644
(file)
--- a/
src/bin/lttng/commands/destroy.c
+++ b/
src/bin/lttng/commands/destroy.c
@@
-35,6
+35,12
@@
static char *opt_session_name;
static int opt_destroy_all;
static int opt_no_wait;
static int opt_destroy_all;
static int opt_no_wait;
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-destroy.1.h>
+;
+#endif
+
/* Mi writer */
static struct mi_writer *writer;
/* Mi writer */
static struct mi_writer *writer;
This page took
0.024846 seconds
and
4
git commands to generate.