lttng: show man page when using command's --help
[lttng-tools.git] / src / bin / lttng / commands / disable_channels.c
index 01f971f2f9fb2e1db667576c44d9e2f1789aa60b..a8bfa5deaeda8ad759eb82fee2f31412d34ab291 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>
@@ -234,7 +233,7 @@ int cmd_disable_channels(int argc, const char **argv)
        while ((opt = poptGetNextOpt(pc)) != -1) {
                switch (opt) {
                case OPT_HELP:
-                       usage(stdout);
+                       SHOW_HELP();
                        goto end;
                case OPT_USERSPACE:
                        opt_userspace = 1;
This page took 0.023026 seconds and 4 git commands to generate.