Revision: 55583
          http://sourceforge.net/p/brlcad/code/55583
Author:   carlmoore
Date:     2013-05-29 17:43:12 +0000 (Wed, 29 May 2013)
Log Message:
-----------
implement h,? as help; 'h' for high-res is replaced by 's 1024'; usage 
statement already had h removed

Modified Paths:
--------------
    brlcad/trunk/src/util/bwrot.c

Modified: brlcad/trunk/src/util/bwrot.c
===================================================================
--- brlcad/trunk/src/util/bwrot.c       2013-05-29 17:33:35 UTC (rev 55582)
+++ brlcad/trunk/src/util/bwrot.c       2013-05-29 17:43:12 UTC (rev 55583)
@@ -70,7 +70,10 @@
     if (!ifp || !ofp || !angle)
        bu_exit(1, "bwrot: internal error processing arguments\n");
 
-    while ((c = bu_getopt(argc, argv, "fbrih#:a:s:o:w:n:S:W:N:")) != -1) {
+    if ( isatty(fileno(stdin)) && isatty(fileno(stdout)) && argc == 1)
+       return 0;
+
+    while ((c = bu_getopt(argc, argv, "fbri#:a:s:o:w:n:S:W:N:h?")) != -1) {
        switch (c) {
            case 'f':
                minus90++;
@@ -84,10 +87,6 @@
            case 'i':
                invert++;
                break;
-           case 'h':
-               /* high-res */
-               nxin = nyin = 1024;
-               break;
            case '#':
                pixbytes = atoi(bu_optarg);
                break;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to