report panda3d version

This commit is contained in:
David Rose 2009-10-21 19:57:45 +00:00
parent 131fc2cfdf
commit 3f5dd0d039

View File

@ -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"