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
/
start.c
diff --git
a/src/bin/lttng/commands/start.c
b/src/bin/lttng/commands/start.c
index 03d99cf4143b4f5a42245a474af9663d9f2e92d6..0287fc7e8cf144a4fee7b574862ae85f892561d9 100644
(file)
--- a/
src/bin/lttng/commands/start.c
+++ b/
src/bin/lttng/commands/start.c
@@
-33,6
+33,12
@@
static char *opt_session_name;
static struct mi_writer *writer;
static char *opt_session_name;
static struct mi_writer *writer;
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-start.1.h>
+;
+#endif
+
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
This page took
0.024647 seconds
and
4
git commands to generate.