X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fmetadata.cpp;h=38e99b4a408a2891298c729c6f28319732bdcd1b;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=b68c22a07cad3e766a2744f327901eaa7d12eb1b;hpb=f46376a14da2eb796690cb4e718e8b213839d6ea;p=lttng-tools.git diff --git a/src/bin/lttng/commands/metadata.cpp b/src/bin/lttng/commands/metadata.cpp index b68c22a07..38e99b4a4 100644 --- a/src/bin/lttng/commands/metadata.cpp +++ b/src/bin/lttng/commands/metadata.cpp @@ -13,9 +13,9 @@ #include #include -#include +#include -#include "../command.h" +#include "../command.hpp" static char *opt_session_name; static char *session_name = NULL; @@ -41,7 +41,7 @@ static struct poptOption long_options[] = { { "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, }, };