X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fversion.c;h=722804e8e51a875ab5f9f1cd3e6a3b750e02efb2;hp=cf46a8cb0e32fe7f3e1b35ed1dffa43d41dd0a90;hb=87597c2c3bbaa1502ad2025cbf16704829f3b464;hpb=38b4ef1b199ddb15db78774a39e9c524ca7e2d24 diff --git a/src/bin/lttng/commands/version.c b/src/bin/lttng/commands/version.c index cf46a8cb0..722804e8e 100644 --- a/src/bin/lttng/commands/version.c +++ b/src/bin/lttng/commands/version.c @@ -27,6 +27,13 @@ #include #include "../command.h" +#include "version.h" + +#ifdef LTTNG_EMBED_HELP +static const char help_msg[] = +#include +; +#endif enum { OPT_HELP = 1, @@ -152,7 +159,7 @@ int cmd_version(int argc, const char **argv) MSG("lttng version " VERSION " - " VERSION_NAME "%s", GIT_VERSION[0] == '\0' ? "" : " - " GIT_VERSION); MSG("\n" VERSION_DESCRIPTION "\n"); - MSG("Web site: http://lttng.org"); + MSG("Web site: https://lttng.org"); MSG("\n%s", lttng_license); }