Revision: 65103
          http://sourceforge.net/p/brlcad/code/65103
Author:   carlmoore
Date:     2015-05-29 20:44:37 +0000 (Fri, 29 May 2015)
Log Message:
-----------
omit error message if run-with-no-arguments

Modified Paths:
--------------
    brlcad/trunk/src/sig/bw-d.c

Modified: brlcad/trunk/src/sig/bw-d.c
===================================================================
--- brlcad/trunk/src/sig/bw-d.c 2015-05-29 20:24:33 UTC (rev 65102)
+++ brlcad/trunk/src/sig/bw-d.c 2015-05-29 20:44:37 UTC (rev 65103)
@@ -55,6 +55,9 @@
     double scale = 1.0;
     size_t ret;
 
+    if (argc == 1 && isatty(fileno(stdin)))
+       printusage();
+
     if (BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?"))
        printusage();
 

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


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to