projects
/
deliverable
/
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
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
enable_channels.c
diff --git
a/src/bin/lttng/commands/enable_channels.c
b/src/bin/lttng/commands/enable_channels.c
index fa8513e72320c1f835af634fed3f14dbca5d18d8..950cdb67e671e61cc164e1d050ba5454ec3bd0e7 100644
(file)
--- a/
src/bin/lttng/commands/enable_channels.c
+++ b/
src/bin/lttng/commands/enable_channels.c
@@
-51,6
+51,12
@@
static struct {
static struct mi_writer *writer;
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-enable-channel.1.h>
+;
+#endif
+
enum {
OPT_HELP = 1,
OPT_DISCARD,
This page took
0.026749 seconds
and
5
git commands to generate.