diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-11-09 06:43:38 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-09 16:21:31 -0800 |
commit | bcabe6ec9f255b1c789cbcbef820e702489c7254 (patch) | |
tree | 20921678351849b95b0fc74e53d95bf716b93b74 /core/subsurfacestartup.c | |
parent | 76f595049b6fce9818cd0ad14c4f73c10691642f (diff) | |
download | subsurface-bcabe6ec9f255b1c789cbcbef820e702489c7254.tar.gz |
Add details about key libraries when showing version
Also fixed a spelling error and apparently some whitespace issue.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r-- | core/subsurfacestartup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index 7fbfbdc57..ca6a198ad 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -150,8 +150,12 @@ bool imported = false; static void print_version() { - printf("Subsurface v%s, ", subsurface_git_version()); + printf("Subsurface v%s,\n", subsurface_git_version()); printf("built with libdivecomputer v%s\n", dc_version(NULL)); + print_qt_versions(); + int git_maj, git_min, git_rev; + git_libgit2_version(&git_maj, &git_min, &git_rev); + printf("built with libgit2 %d.%d.%d\n", git_maj, git_min, git_rev); } void print_files() |