X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fstatus.cpp;h=cd05bf313be1915a2f2bfe4851182b4710ea03b0;hb=28ab034a2c3582d07d3423d2d746731f87d3969f;hp=23e8c03d390bc8fa2007cd82e7e271ec5bcda810;hpb=48a4000561343808724f7cb5fa8c131877489ccd;p=lttng-tools.git diff --git a/src/bin/lttng/commands/status.cpp b/src/bin/lttng/commands/status.cpp index 23e8c03d3..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.h" -#include "../utils.h" -#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)