lttng: show man page when using command's --help
[lttng-tools.git] / src / bin / lttng / commands / load.c
index 708ef0b4d8e6c5c035b8fa6a66ddd1e966c73440..7a29da52da3ed780dfff56970678a5750bf3f970 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <inttypes.h>
 #include <popt.h>
@@ -25,7 +24,7 @@
 #include <assert.h>
 
 #include <common/mi-lttng.h>
-#include <common/config/config.h>
+#include <common/config/session-config.h>
 
 #include "../command.h"
 
@@ -152,7 +151,7 @@ int cmd_load(int argc, const char **argv)
        while ((opt = poptGetNextOpt(pc)) != -1) {
                switch (opt) {
                case OPT_HELP:
-                       usage(stdout);
+                       SHOW_HELP();
                        goto end;
                case OPT_ALL:
                        opt_load_all = 1;
This page took 0.024161 seconds and 4 git commands to generate.