lttng: show man page when using command's --help
[lttng-tools.git] / src / bin / lttng / commands / snapshot.c
index 846e9badc168c07da31dfea7e20579b8871d4dc2..1d7843954ecc60e6ad94ea62b8004338eb372325 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
@@ -716,7 +715,7 @@ int cmd_snapshot(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, snapshot_opts);
This page took 0.024687 seconds and 4 git commands to generate.