mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Print a usage message if too few arguments to program.
llvm-svn: 31581
This commit is contained in:
parent
dbb1ac36fa
commit
1d8fddc5b0
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user