From cd657a281917fac2a954b3659a8c8b9ee57991ce Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 17 Dec 2014 15:35:51 -0500 Subject: castxml: Add credits --- src/castxml.cxx | 7 ++++++- test/expect/cmd.version.stdout.txt | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/castxml.cxx b/src/castxml.cxx index bf78f30..0dfd7d0 100644 --- a/src/castxml.cxx +++ b/src/castxml.cxx @@ -216,7 +216,12 @@ int main(int argc_in, const char** argv_in) // Also print Clang help. clang_args.push_back(argv[i]); } else if(strcmp(argv[i], "--version") == 0) { - std::cout << "castxml version " << getVersionString() << std::endl; + std::cout << + "castxml version " << getVersionString() << "\n" + "\n" + "CastXML project maintained and supported by Kitware " + "(kitware.com).\n" << + std::endl; // Also print Clang version. clang_args.push_back(argv[i]); } else { diff --git a/test/expect/cmd.version.stdout.txt b/test/expect/cmd.version.stdout.txt index 1cf9902..09e2e85 100644 --- a/test/expect/cmd.version.stdout.txt +++ b/test/expect/cmd.version.stdout.txt @@ -1,2 +1,5 @@ ^castxml version [0-9]+\.[0-9]+[^\n]* + +CastXML project maintained and supported by Kitware \(kitware.com\). + clang version [0-9]+\.[0-9]+ -- cgit v0.12