projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always print GIT_VERSION even if empty
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
version.c
diff --git
a/src/bin/lttng/commands/version.c
b/src/bin/lttng/commands/version.c
index 13e5c994f16ce8b496a5919c61a833544c1d629d..768ebb5e14c030825de7a1d5226bc883b8716658 100644
(file)
--- a/
src/bin/lttng/commands/version.c
+++ b/
src/bin/lttng/commands/version.c
@@
-164,7
+164,7
@@
int cmd_version(int argc, const char **argv)
if (lttng_opt_mi) {
ret = print_mi();
} else {
if (lttng_opt_mi) {
ret = print_mi();
} else {
- MSG("lttng version "
FULL_VERSION " - " VERSION_NAME
);
+ MSG("lttng version "
VERSION " - " VERSION_NAME " - " GIT_VERSION
);
MSG("\n" VERSION_DESCRIPTION "\n");
MSG("Web site: http://lttng.org");
MSG("\n%s", lttng_license);
MSG("\n" VERSION_DESCRIPTION "\n");
MSG("Web site: http://lttng.org");
MSG("\n%s", lttng_license);
This page took
0.024767 seconds
and
5
git commands to generate.