Changes in directory llvm/utils:
findmisopt updated: 1.1 -> 1.2 --- Log message: Print a usage message if too few arguments to program. --- Diffs of the changes: (+5 -0) findmisopt | 5 +++++ 1 files changed, 5 insertions(+) Index: llvm/utils/findmisopt diff -u llvm/utils/findmisopt:1.1 llvm/utils/findmisopt:1.2 --- llvm/utils/findmisopt:1.1 Wed Nov 8 18:26:17 2006 +++ llvm/utils/findmisopt Wed Nov 8 18:50:32 2006 @@ -30,6 +30,11 @@ # determined by diffing the program's output with the non-optimized # output. # +if [ "$#" -lt 3 ] ; then + echo "usage: findmisopt bcfile outdir progargs [match]" + exit 1 +fi + bcfile="$1" outdir="$2" args="$3" _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits