mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
minor text formatting
This commit is contained in:
parent
bb96cc89c2
commit
f4bf15ca63
@ -54,14 +54,15 @@ event_W(CPT_Event, void *) {
|
|||||||
void
|
void
|
||||||
usage() {
|
usage() {
|
||||||
cerr <<
|
cerr <<
|
||||||
"Usage: pview [opts] model [model ...]\n";
|
"\n"
|
||||||
" pview -h\n";
|
"Usage: pview [opts] model [model ...]\n"
|
||||||
|
" pview -h\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
help() {
|
help() {
|
||||||
usage();
|
usage();
|
||||||
cerr << "\n"
|
cerr <<
|
||||||
"pview opens a quick Panda window for viewing one or more models and/or\n"
|
"pview opens a quick Panda window for viewing one or more models and/or\n"
|
||||||
"animations.\n\n"
|
"animations.\n\n"
|
||||||
|
|
||||||
@ -82,7 +83,7 @@ main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
bool auto_center = false;
|
bool auto_center = false;
|
||||||
|
|
||||||
extern char *optarg;
|
// extern char *optarg;
|
||||||
extern int optind;
|
extern int optind;
|
||||||
static const char *optflags = "ch";
|
static const char *optflags = "ch";
|
||||||
int flag = getopt(argc, argv, optflags);
|
int flag = getopt(argc, argv, optflags);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user