Revision: 55560
          http://sourceforge.net/p/brlcad/code/55560
Author:   carlmoore
Date:     2013-05-23 20:26:59 +0000 (Thu, 23 May 2013)
Log Message:
-----------
supplied h and ? as help flags; converted old h to H because the workaround 
would require BOTH s and S in place of old h

Modified Paths:
--------------
    brlcad/trunk/src/fb/bw-fb.c

Modified: brlcad/trunk/src/fb/bw-fb.c
===================================================================
--- brlcad/trunk/src/fb/bw-fb.c 2013-05-23 20:06:44 UTC (rev 55559)
+++ brlcad/trunk/src/fb/bw-fb.c 2013-05-23 20:26:59 UTC (rev 55560)
@@ -72,7 +72,7 @@
 static FBIO *fbp;
 
 static char usage[] = "\
-Usage: bw-fb [-a -h -i -c -z -R -G -B] [-F framebuffer]\n\
+Usage: bw-fb [-a -H -i -c -z -R -G -B] [-F framebuffer]\n\
        [-s squarefilesize] [-w file_width] [-n file_height]\n\
        [-x file_xoff] [-y file_yoff] [-X scr_xoff] [-Y scr_yoff]\n\
        [-S squarescrsize] [-W scr_width] [-N scr_height] [file.bw]\n";
@@ -81,12 +81,15 @@
 {
     int c;
 
-    while ((c = bu_getopt(argc, argv, "ahiczRGBF:s:w:n:x:y:X:Y:S:W:N:")) != 
-1) {
+    while ((c = bu_getopt(argc, argv, "aHiczRGBF:s:w:n:x:y:X:Y:S:W:N:h?")) != 
-1) {
        switch (c) {
            case 'a':
                autosize = 1;
                break;
-           case 'h':
+/* What is showing up immed. below as 'H' had been 'h', which has been 
converted to
+   a help flag.  Problem: it would take -s 1024 -S 1024' to replace the old 
'h'.
+*/
+           case 'H':
                /* high-res */
                file_height = file_width = 1024;
                scr_height = scr_width = 1024;

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

Reply via email to