From 3f5dd0d039eae3e4e223cc856651d96af6e0cb35 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 21 Oct 2009 19:57:45 +0000 Subject: [PATCH] report panda3d version --- direct/src/plugin_standalone/panda3d.cxx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/direct/src/plugin_standalone/panda3d.cxx b/direct/src/plugin_standalone/panda3d.cxx index 2311cfc5c8..69d311bb85 100644 --- a/direct/src/plugin_standalone/panda3d.cxx +++ b/direct/src/plugin_standalone/panda3d.cxx @@ -1035,8 +1035,17 @@ delete_instance(P3D_instance *inst) { void Panda3D:: usage() { cerr - << "\nUsage:\n" - << " panda3d [opts] file.p3d [args]\n\n" + << "\nThis is panda3d version " + << P3D_PLUGIN_MAJOR_VERSION << "." + << P3D_PLUGIN_MINOR_VERSION << "." + << P3D_PLUGIN_SEQUENCE_VERSION; +#ifndef PANDA_OFFICIAL_VERSION + cerr << "c"; +#endif + + cerr + << "\n\nUsage:\n" + << " panda3d [opts] file.p3d [args]\n" << " panda3d -m [opts] file_a.p3d file_b.p3d [file_c.p3d ...]\n\n" << "This program is used to execute a Panda3D application bundle stored\n"