Revision: 54875
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54875&view=rev
Author:   brlcad
Date:     2013-03-26 14:22:02 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
undo apparent accidental inclusion of pix-png.c in r54858.  it made help 
options not work (and incorrectly spits an error about not outputting to a tty).

Revision Links:
--------------
    http://brlcad.svn.sourceforge.net/brlcad/?rev=54858&view=rev

Modified Paths:
--------------
    brlcad/trunk/src/util/pix-png.c

Modified: brlcad/trunk/src/util/pix-png.c
===================================================================
--- brlcad/trunk/src/util/pix-png.c     2013-03-26 14:13:20 UTC (rev 54874)
+++ brlcad/trunk/src/util/pix-png.c     2013-03-26 14:22:02 UTC (rev 54875)
@@ -66,7 +66,7 @@
     int ttyin = 0;
     int ttyout = 0;
 
-    while ((c = bu_getopt(argc, argv, "ag:s:w:n:o:")) != -1) {
+    while ((c = bu_getopt(argc, argv, "ag:s:w:n:o:h?")) != -1) {
        switch (c) {
            case 'a':
                autosize = 1;
@@ -94,6 +94,11 @@
                }
                break;
            }
+
+           case '?':
+           case 'h':
+           default: /* help */
+               return 0;
        }
     }
 

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


------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to