X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fstatus.cpp;fp=src%2Fbin%2Flttng%2Fcommands%2Fstatus.cpp;h=cd05bf313be1915a2f2bfe4851182b4710ea03b0;hp=a77830ece028d002ba0cf97ac30019ff585d7267;hb=28ab034a2c3582d07d3423d2d746731f87d3969f;hpb=52e345b9ac912d033c2a2c25a170a01cf209839d diff --git a/src/bin/lttng/commands/status.cpp b/src/bin/lttng/commands/status.cpp index a77830ece..cd05bf313 100644 --- a/src/bin/lttng/commands/status.cpp +++ b/src/bin/lttng/commands/status.cpp @@ -6,6 +6,10 @@ */ #define _LGPL_SOURCE +#include "../command.hpp" +#include "../utils.hpp" + +#include #include #include #include @@ -14,14 +18,10 @@ #include #include -#include "../command.hpp" -#include "../utils.hpp" -#include - #ifdef LTTNG_EMBED_HELP static const char help_msg[] = #include -; + ; #endif enum { @@ -31,9 +31,9 @@ enum { static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ - {"help", 'h', POPT_ARG_NONE, NULL, OPT_HELP, NULL, NULL}, - {"list-options", 0, POPT_ARG_NONE, NULL, OPT_LIST_OPTIONS, NULL, NULL}, - {0, 0, 0, 0, 0, 0, 0} + { "help", 'h', POPT_ARG_NONE, NULL, OPT_HELP, NULL, NULL }, + { "list-options", 0, POPT_ARG_NONE, NULL, OPT_LIST_OPTIONS, NULL, NULL }, + { 0, 0, 0, 0, 0, 0, 0 } }; static int status(void)