Revision: 56180
http://sourceforge.net/p/brlcad/code/56180
Author: carlmoore
Date: 2013-07-22 21:48:49 +0000 (Mon, 22 Jul 2013)
Log Message:
-----------
remove error message for h,?; and implement run-with-no-arguments
Modified Paths:
--------------
brlcad/trunk/src/util/fix_polysolids.c
Modified: brlcad/trunk/src/util/fix_polysolids.c
===================================================================
--- brlcad/trunk/src/util/fix_polysolids.c 2013-07-22 16:43:13 UTC (rev
56179)
+++ brlcad/trunk/src/util/fix_polysolids.c 2013-07-22 21:48:49 UTC (rev
56180)
@@ -25,7 +25,7 @@
#include "common.h"
-#include <stdio.h>
+#include <bio.h>
#include <math.h>
#include <string.h>
@@ -68,10 +68,13 @@
tol.perp = 1e-6;
tol.para = 1 - tol.perp;
+ if ( argc == 1 && isatty(fileno(stdin)) && isatty(fileno(stdout)) )
+ bu_exit(1, usage, argv[0]);
+
BU_LIST_INIT(&rt_g.rtg_vlfree); /* for vlist macros */
/* Get command line arguments. */
- while ((c = bu_getopt(argc, argv, "vx:X:")) != -1) {
+ while ((c = bu_getopt(argc, argv, "vx:X:h?")) != -1) {
switch (c) {
unsigned int debug;
case 'v':
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits