Revision: 55561
          http://sourceforge.net/p/brlcad/code/55561
Author:   carlmoore
Date:     2013-05-23 21:52:29 +0000 (Thu, 23 May 2013)
Log Message:
-----------
implement h and ? as help flags; old h is replaced by '-s 1024'

Modified Paths:
--------------
    brlcad/trunk/src/util/bw-imp.c

Modified: brlcad/trunk/src/util/bw-imp.c
===================================================================
--- brlcad/trunk/src/util/bw-imp.c      2013-05-23 20:26:59 UTC (rev 55560)
+++ brlcad/trunk/src/util/bw-imp.c      2013-05-23 21:52:29 UTC (rev 55561)
@@ -92,7 +92,7 @@
 void im_write(int y);
 
 char usage[] = "\
-Usage: bw-imp [-h -D] [-s squaresize] [-w width] [-n height]\n\
+Usage: bw-imp [-D] [-s squaresize] [-w width] [-n height]\n\
        [-X page_xoff] [-Y page_yoff] [-t thresh] [file.bw] > impress\n";
 
 int
@@ -100,16 +100,14 @@
 {
     int c;
 
-    while ((c = bu_getopt(argc, argv, "hDs:n:w:t:X:Y:")) != -1) {
+    while ((c = bu_getopt(argc, argv, "Ds:n:w:t:X:Y:h?")) != -1) {
        switch (c) {
-           case 'h':
-               /* high-res */
-               height = width = 1024;
-               break;
            case 'D':
                /* halftone instead of dither */
                pattern = halftone;
                break;
+/* Use '-s 1024' in place of old 'h'.
+ */
            case 's':
                /* square size */
                height = width = atoi(bu_optarg);

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