From: Paul K. <pki...@us...> - 2004-04-19 14:47:48
|
Update of /cvsroot/octave/octave-forge/extra/mex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27957 Modified Files: mex.in Log Message: exit with error after usage statement Index: mex.in =================================================================== RCS file: /cvsroot/octave/octave-forge/extra/mex/mex.in,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- mex.in 6 Feb 2004 17:05:11 -0000 1.10 +++ mex.in 19 Apr 2004 14:47:39 -0000 1.11 @@ -10,9 +10,7 @@ # 2001-09-20 Paul Kienzle <pki...@us...> # * use config-like syntax to set the name of mkoctfile and the path to mex -if test $# -lt 1 ; then - echo usage: mex -options file.c -fi +test $# -lt 1 && echo usage: mex -options file.c && exit 1 first="" for arg in $*; do |