mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
trivial
This commit is contained in:
parent
5c4dac4493
commit
d9986dad01
@ -303,7 +303,6 @@ run(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
// All instances have finished; we can exit.
|
||||
cerr << "clean exit\n";
|
||||
unload_plugin();
|
||||
return 0;
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ def makePackedApp(args):
|
||||
sys.exit(1)
|
||||
|
||||
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:
|
||||
raise ArgumentError, "Too many arguments."
|
||||
|
@ -22,13 +22,13 @@ This script is actually a wrapper around Panda's Packager.py.
|
||||
|
||||
Usage:
|
||||
|
||||
%s [opts] package.pdef
|
||||
%(prog)s [opts] package.pdef
|
||||
|
||||
Required:
|
||||
|
||||
package.pdef
|
||||
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.
|
||||
|
||||
Options:
|
||||
@ -75,7 +75,7 @@ from direct.showutil import make_contents
|
||||
from pandac.PandaModules import *
|
||||
|
||||
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
|
||||
sys.exit(code)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user