#include <common/mi-lttng.h>
#include "../command.h"
+#include "version.h"
#ifdef LTTNG_EMBED_HELP
static const char help_msg[] =
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);
+ if (EXTRA_VERSION_NAME[0] != '\0') {
+ MSG("\nExtra version name: " EXTRA_VERSION_NAME);
+ }
+ if (EXTRA_VERSION_DESCRIPTION[0] != '\0') {
+ MSG("\nExtra version description:\n\t" EXTRA_VERSION_DESCRIPTION);
+ }
+ if (EXTRA_VERSION_PATCHES[0] != '\0') {
+ MSG("\nExtra version patches:\n\t" EXTRA_VERSION_PATCHES);
+ }
}
end: