lttng: show man page when using command's --help
[lttng-tools.git] / src / bin / lttng / commands / start.c
index 5ca92d8d14a87049a743f375c5efaa55bb82e3bc..90794c66990bfc5fed93e3a0949385b8d8c95217 100644 (file)
@@ -15,7 +15,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -161,7 +161,7 @@ int cmd_start(int argc, const char **argv)
        while ((opt = poptGetNextOpt(pc)) != -1) {
                switch (opt) {
                case OPT_HELP:
-                       usage(stdout);
+                       SHOW_HELP();
                        goto end;
                case OPT_LIST_OPTIONS:
                        list_cmd_options(stdout, long_options);
This page took 0.023785 seconds and 4 git commands to generate.