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
/
create.c
diff --git
a/src/bin/lttng/commands/create.c
b/src/bin/lttng/commands/create.c
index 40d2a77d94b48b9d8435948c2c2b557ade3792ed..d075f64b90742c08b8463058440c7c2722fbc316 100644
(file)
--- a/
src/bin/lttng/commands/create.c
+++ b/
src/bin/lttng/commands/create.c
@@
-51,6
+51,12
@@
static int opt_no_output;
static int opt_snapshot;
static unsigned int opt_live_timer;
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-create.1.h>
+;
+#endif
+
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
This page took
0.027051 seconds
and
5
git commands to generate.