X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fhelp.cpp;fp=src%2Fbin%2Flttng%2Fcommands%2Fhelp.cpp;h=5f6d86685b0892bdaf059140fe5bb27bbf7f50a0;hp=9822b47eb90b0e5cf0e7eb940f4a04fa458a64ba;hb=28ab034a2c3582d07d3423d2d746731f87d3969f;hpb=52e345b9ac912d033c2a2c25a170a01cf209839d diff --git a/src/bin/lttng/commands/help.cpp b/src/bin/lttng/commands/help.cpp index 9822b47eb..5f6d86685 100644 --- a/src/bin/lttng/commands/help.cpp +++ b/src/bin/lttng/commands/help.cpp @@ -6,27 +6,28 @@ */ #define _LGPL_SOURCE +#include "../command.hpp" + +#include + #include #include #include #include -#include "../command.hpp" -#include - #ifdef LTTNG_EMBED_HELP static const char *help_msg = #include -; + ; #endif static const char *lttng_help_msg = #ifdef LTTNG_EMBED_HELP #include #else -NULL + NULL #endif -; + ; enum { OPT_HELP = 1, @@ -35,9 +36,9 @@ enum { static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ - {"help", 'h', POPT_ARG_NONE, 0, OPT_HELP, 0, 0}, - {"list-options", 0, POPT_ARG_NONE, NULL, OPT_LIST_OPTIONS, NULL, NULL}, - {0, 0, 0, 0, 0, 0, 0} + { "help", 'h', POPT_ARG_NONE, 0, OPT_HELP, 0, 0 }, + { "list-options", 0, POPT_ARG_NONE, NULL, OPT_LIST_OPTIONS, NULL, NULL }, + { 0, 0, 0, 0, 0, 0, 0 } }; /*