David Rose 16 år sedan
förälder
incheckning
d9986dad01

+ 0 - 1
direct/src/plugin_standalone/panda3d.cxx

@@ -303,7 +303,6 @@ run(int argc, char *argv[]) {
   }
   }
 
 
   // All instances have finished; we can exit.
   // All instances have finished; we can exit.
-  cerr << "clean exit\n";
   unload_plugin();
   unload_plugin();
   return 0;
   return 0;
 }
 }

+ 1 - 1
direct/src/showutil/packp3d.py

@@ -86,7 +86,7 @@ def makePackedApp(args):
             sys.exit(1)
             sys.exit(1)
 
 
     if not args:
     if not args:
-        raise ArgumentError, "No destination app specified.  Use:\npackp3d.py app.p3d"
+        raise ArgumentError, "No target app specified.  Use:\n%s app.p3d" % (os.path.split(sys.argv[0])[1])
 
 
     if len(args) > 1:
     if len(args) > 1:
         raise ArgumentError, "Too many arguments."
         raise ArgumentError, "Too many arguments."

+ 3 - 3
direct/src/showutil/ppackage.py

@@ -22,13 +22,13 @@ This script is actually a wrapper around Panda's Packager.py.
 
 
 Usage:
 Usage:
 
 
-  %s [opts] package.pdef
+  %(prog)s [opts] package.pdef
 
 
 Required:
 Required:
 
 
   package.pdef
   package.pdef
     The config file that describes the contents of the package file(s)
     The config file that describes the contents of the package file(s)
-    to be built, in excruciating detail.  Use "ppackage.py -H" to
+    to be built, in excruciating detail.  Use "%(prog)s -H" to
     describe the syntax of this file.
     describe the syntax of this file.
 
 
 Options:
 Options:
@@ -75,7 +75,7 @@ from direct.showutil import make_contents
 from pandac.PandaModules import *
 from pandac.PandaModules import *
 
 
 def usage(code, msg = ''):
 def usage(code, msg = ''):
-    print >> sys.stderr, __doc__ % (os.path.split(sys.argv[0])[1])
+    print >> sys.stderr, __doc__ % {'prog' : os.path.split(sys.argv[0])[1]}
     print >> sys.stderr, msg
     print >> sys.stderr, msg
     sys.exit(code)
     sys.exit(code)