Fix: add missing includes for embedded help
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 19 Jan 2018 16:14:35 +0000 (11:14 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:29 +0000 (12:12 -0400)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/disable_rotation.c
src/bin/lttng/commands/enable_rotation.c
src/bin/lttng/commands/rotate.c

index e917cbdc172beb785f172f9bcb0c09e7d4cdff8f..a4a97903017764f461c6da3f66c4d256c6c84064 100644 (file)
 static char *opt_session_name;
 static struct mi_writer *writer;
 
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-disable-rotation.1.h>
+;
+#endif
+
 enum {
        OPT_HELP = 1,
        OPT_LIST_OPTIONS,
index 80fc495ba8de8dcbf94a76bf98cc9c164e3f8ef3..80ebc8cdc48a59f12a189b436f9d42b4a11cb330 100644 (file)
 static char *opt_session_name;
 static struct mi_writer *writer;
 
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-enable-rotation.1.h>
+;
+#endif
+
 enum {
        OPT_HELP = 1,
        OPT_LIST_OPTIONS,
index f8cba7992157c45ccb9fa7e8dd567d3b040f75e0..5a00d699416b164df72d5d9659e3745e994d7256 100644 (file)
@@ -37,6 +37,12 @@ static char *opt_session_name;
 static int opt_no_wait;
 static struct mi_writer *writer;
 
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-rotate.1.h>
+;
+#endif
+
 enum {
        OPT_HELP = 1,
        OPT_LIST_OPTIONS,
This page took 0.026773 seconds and 4 git commands to generate.