X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fdisable_channels.c;h=a8bfa5deaeda8ad759eb82fee2f31412d34ab291;hb=4ba92f185fb1d0b112cbc804a261939f5f81dc34;hp=01f971f2f9fb2e1db667576c44d9e2f1789aa60b;hpb=d125bf20e5061cbf6120d06bd728a097473e3e1c;p=lttng-tools.git diff --git a/src/bin/lttng/commands/disable_channels.c b/src/bin/lttng/commands/disable_channels.c index 01f971f2f..a8bfa5dea 100644 --- a/src/bin/lttng/commands/disable_channels.c +++ b/src/bin/lttng/commands/disable_channels.c @@ -15,7 +15,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -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;