#include <string.h>
#include <unistd.h>
-#include <common/mi-lttng.h>
+#include <common/mi-lttng.hpp>
-#include "../command.h"
+#include "../command.hpp"
static char *opt_session_name;
static char *session_name = NULL;
{ "help", 'h', POPT_ARG_NONE, 0, OPT_HELP, 0, 0, },
{ "session", 's', POPT_ARG_STRING, &opt_session_name, 0, 0, 0},
{ "list-options", 0, POPT_ARG_NONE, NULL, OPT_LIST_OPTIONS, 0, 0, },
- { "list-commands", 0, POPT_ARG_NONE, NULL, OPT_LIST_COMMANDS},
+ { "list-commands", 0, POPT_ARG_NONE, NULL, OPT_LIST_COMMANDS, NULL, NULL},
{ 0, 0, 0, 0, 0, 0, 0, },
};