lttng: show man page when using command's --help
[lttng-tools.git] / src / bin / lttng / commands / set_session.c
index 14fe9afd8362ee20eaaf2bc5618460af7217d953..d41dc1d191ccf2be56935c3b06e87e596a657ecd 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
@@ -175,7 +174,7 @@ int cmd_set_session(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.023711 seconds and 4 git commands to generate.