Revision: 41427
http://brlcad.svn.sourceforge.net/brlcad/?rev=41427&view=rev
Author: brlcad
Date: 2010-11-22 23:55:44 +0000 (Mon, 22 Nov 2010)
Log Message:
-----------
use the same usage when no files are specified
Modified Paths:
--------------
brlcad/trunk/sh/conversion.sh
Modified: brlcad/trunk/sh/conversion.sh
===================================================================
--- brlcad/trunk/sh/conversion.sh 2010-11-22 23:50:57 UTC (rev 41426)
+++ brlcad/trunk/sh/conversion.sh 2010-11-22 23:55:44 UTC (rev 41427)
@@ -66,12 +66,6 @@
exit 1
fi
-if test $# -eq 0 ; then
- echo "No geometry files specified."
- echo "Usage: $0 file1.g [file2.g ...]"
- exit 2
-fi
-
#######################
# log to tty and file #
#######################
@@ -169,6 +163,12 @@
# validate and clean up options (all default to 0)
booleanize HELP INSTRUCTIONS VERBOSE
+if test $# -eq 0 ; then
+ echo "No geometry files specified."
+ echo ""
+ HELP=1
+fi
+
###
# handle help before main processing
###
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits