This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to tag v1.0.0
in repository osmium-tool.

commit 0a4788e3c6bb591be385d64c378914473aed1187
Author: Jochen Topf <joc...@topf.org>
Date:   Thu Jan 29 16:30:52 2015 +0100

    Extend output of --version with copyright and build info.
---
 src/main.cpp | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/main.cpp b/src/main.cpp
index 40a1f1e..cfe5fa0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -76,7 +76,18 @@ int main(int argc, char *argv[]) {
     }
 
     if (command == "version") {
-        std::cout << "osmium version " << OSMIUM_VERSION << std::endl;
+        std::cout << "osmium version " << OSMIUM_VERSION << "\n"
+                  << "Copyright (C) 2013-2015  Jochen Topf <joc...@topf.org>\n"
+                  << "License: GNU GENERAL PUBLIC LICENSE Version 3 
<http://gnu.org/licenses/gpl.html>.\n"
+                  << "This is free software: you are free to change and 
redistribute it.\n"
+                  << "There is NO WARRANTY, to the extent permitted by law.\n";
+
+#ifdef OSMIUM_WITH_CRYPTOPP
+        std::cout << "SHA support: enabled\n";
+#else
+        std::cout << "SHA support: disabled\n";
+#endif
+
         return return_code::okay;
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/osmium-tool.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to