Revision: 55684
http://sourceforge.net/p/brlcad/code/55684
Author: carlmoore
Date: 2013-06-06 20:22:30 +0000 (Thu, 06 Jun 2013)
Log Message:
-----------
remove old h (it was a high-res flag; use 's 1024' or 'S 1024) and implement h,?
Modified Paths:
--------------
brlcad/trunk/src/fb/fbclear.c
Modified: brlcad/trunk/src/fb/fbclear.c
===================================================================
--- brlcad/trunk/src/fb/fbclear.c 2013-06-06 16:14:16 UTC (rev 55683)
+++ brlcad/trunk/src/fb/fbclear.c 2013-06-06 20:22:30 UTC (rev 55684)
@@ -47,21 +47,16 @@
#define u_char unsigned char
-static char usage[] = "\
-Usage: fbclear [-h -c] [-F framebuffer]\n\
- [-S squarescrsize] [-W scr_width] [-N scr_height] [gray | r g b]\n";
+static char usage[] = "Usage: fbclear [-c] [-F framebuffer]\n\
+ [-{sS} squarescrsize] [-{wW} scr_width] [-{nN} scr_height] [gray | r g
b]\n";
int
get_args(int argc, char **argv)
{
int c;
- while ((c = bu_getopt(argc, argv, "hcF:s:w:n:S:W:N:")) != -1) {
+ while ((c = bu_getopt(argc, argv, "cF:s:w:n:S:W:N:h?")) != -1) {
switch (c) {
- case 'h':
- /* high-res */
- scr_height = scr_width = 1024;
- break;
case 'c':
/* clear only, no cmap, pan, and zoom */
clear_and_reset++;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits