Revision: 55586
          http://sourceforge.net/p/brlcad/code/55586
Author:   carlmoore
Date:     2013-05-29 18:09:45 +0000 (Wed, 29 May 2013)
Log Message:
-----------
implement use of h and ?

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

Modified: brlcad/trunk/src/util/bwstat.c
===================================================================
--- brlcad/trunk/src/util/bwstat.c      2013-05-29 18:04:26 UTC (rev 55585)
+++ brlcad/trunk/src/util/bwstat.c      2013-05-29 18:09:45 UTC (rev 55586)
@@ -79,6 +79,9 @@
     double mean, var, skew;
     FILE *fp;
 
+    if ( BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?") )
+       bu_exit(1, "%s", Usage);
+
     /* check for verbose flag */
     if (argc > 1 && BU_STR_EQUAL(argv[1], "-v")) {
        verbose++;

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