Revision: 55526
http://sourceforge.net/p/brlcad/code/55526
Author: carlmoore
Date: 2013-05-21 21:39:32 +0000 (Tue, 21 May 2013)
Log Message:
-----------
replace -h with '-S 1024' so -h can be used for help; also, implement -?
Modified Paths:
--------------
brlcad/trunk/src/fb/fb-rle.c
Modified: brlcad/trunk/src/fb/fb-rle.c
===================================================================
--- brlcad/trunk/src/fb/fb-rle.c 2013-05-21 20:57:37 UTC (rev 55525)
+++ brlcad/trunk/src/fb/fb-rle.c 2013-05-21 21:39:32 UTC (rev 55526)
@@ -69,7 +69,7 @@
static char *framebuffer;
static char usage[] = "\
-Usage: fb-rle [-c -h -d] [-F framebuffer] [-C r/g/b]\n\
+Usage: fb-rle [-c -d] [-F framebuffer] [-C r/g/b]\n\
[-S squarescrsize] [-W screen_width] [-N screen_height]\n\
[-X screen_xoff] [-Y screen_yoff]\n\
[-s squarefilesize] [-w file_width] [-n file_height]\n\
@@ -89,7 +89,7 @@
{
int c;
- while ((c = bu_getopt(argc, argv, "cF:hds:w:n:S:W:N:X:Y:C:")) != -1) {
+ while ((c = bu_getopt(argc, argv, "cF:ds:w:n:S:W:N:X:Y:C:h?")) != -1) {
switch (c) {
case 'c':
crunch = 1;
@@ -97,14 +97,12 @@
case 'F':
framebuffer = bu_optarg;
break;
- case 'h':
- /* high-res */
- screen_height = screen_width = 1024;
- break;
case 's':
/* square file size */
file_height = file_width = atoi(bu_optarg);
break;
+/* case 'h' (high-res) was deleted; in its place, use 'S' with argument of
1024.
+ */
case 'S':
screen_height = screen_width = atoi(bu_optarg);
break;
@@ -139,7 +137,6 @@
}
break;
default:
- case '?':
return 0;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits