Revision: 64368
http://sourceforge.net/p/brlcad/code/64368
Author: carlmoore
Date: 2015-03-11 16:51:28 +0000 (Wed, 11 Mar 2015)
Log Message:
-----------
add a pair of brackets, and implement h and ? for help
Modified Paths:
--------------
brlcad/trunk/src/util/plot3-tek.c
Modified: brlcad/trunk/src/util/plot3-tek.c
===================================================================
--- brlcad/trunk/src/util/plot3-tek.c 2015-03-11 16:33:08 UTC (rev 64367)
+++ brlcad/trunk/src/util/plot3-tek.c 2015-03-11 16:51:28 UTC (rev 64368)
@@ -131,7 +131,7 @@
int expand_it = 0; /* expand plot to 4k, beyond what will fit on
real Tek screen */
static const char usage[] = "\
-Usage: plot3-tek [-e] [-v] < file.plot3 > file.tek\n";
+Usage: plot3-tek [-e] [-v] < file.plot3 [> file.tek]\n";
int
@@ -374,6 +374,8 @@
verbose++;
} else if (BU_STR_EQUAL(argv[1], "-e")) {
expand_it = 1;
+ } else if (BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?")) {
+ bu_exit(1, "%s", usage);
} else {
fprintf(stderr, "plot3-tek: argument '%s' ignored\n", argv[1]);
break;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits