22 add_runline(
"[opts] imagename");
29handle_args(ProgramBase::Args &args) {
31 nout <<
"You must specify the image file to read on the command line.\n";
35 if (args.size() > 1) {
36 nout <<
"Specify only one image on the command line.\n";
40 if (!_image.read(args[0])) {
41 nout <<
"Unable to read image file " << args[0] <<
".\n";
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.