diff options
| author | Stephen D. Huston <shuston@apache.org> | 2008-10-02 19:52:17 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2008-10-02 19:52:17 +0000 |
| commit | 32716cfa7eb0edce0c7e7e4828f7122b369ebf4c (patch) | |
| tree | f7a2a844a624c527edd6695ebf41f4aab1f39805 /cpp/src/qpidd.cpp | |
| parent | 995ef780845afca4eda7996117cab49a7b7b9d6b (diff) | |
| download | qpid-python-32716cfa7eb0edce0c7e7e4828f7122b369ebf4c.tar.gz | |
Resolve QPID-1309
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@701227 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpidd.cpp')
| -rw-r--r-- | cpp/src/qpidd.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpidd.cpp b/cpp/src/qpidd.cpp index 4acfef332a..34d831519e 100644 --- a/cpp/src/qpidd.cpp +++ b/cpp/src/qpidd.cpp @@ -26,6 +26,7 @@ #include "qpid/log/Options.h" #include "qpid/log/Logger.h" #include "qpid/Plugin.h" +#include "qpid/Version.h" #include "qpid/sys/Shlib.h" #include "config.h" #include <boost/filesystem/operations.hpp> @@ -206,8 +207,8 @@ int main(int argc, char* argv[]) // Options that just print information. if(options->common.help || options->common.version) { if (options->common.version) - cout << "qpidd (" << PACKAGE_NAME << ") version " - << PACKAGE_VERSION << endl; + cout << "qpidd (" << qpid::product << ") version " + << qpid::version << endl; else if (options->common.help) options->usage(); return 0; |
