lttng: show man page when using command's --help
[lttng-tools.git] / src / bin / lttng / commands / track-untrack.c
index ea05574514ab698e06c65b46e4f7dce84e8c13f5..6d8d91ffd73b70948c371cb69dbe0a9bc9e14210 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <ctype.h>
 #include <popt.h>
@@ -365,7 +364,7 @@ int cmd_track_untrack(enum cmd_type cmd_type, const char *cmd_str,
        while ((opt = poptGetNextOpt(pc)) != -1) {
                switch (opt) {
                case OPT_HELP:
-                       usage(stdout, cmd_str);
+                       SHOW_HELP();
                        goto end;
                case OPT_LIST_OPTIONS:
                        list_cmd_options(stdout, long_options);
This page took 0.023387 seconds and 4 git commands to generate.