mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 15:10:33 +00:00
Print a usage message if too few arguments to program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
28b7c7feab
commit
e4d8f33b0f
@ -30,6 +30,11 @@
|
|||||||
# determined by diffing the program's output with the non-optimized
|
# determined by diffing the program's output with the non-optimized
|
||||||
# output.
|
# output.
|
||||||
#
|
#
|
||||||
|
if [ "$#" -lt 3 ] ; then
|
||||||
|
echo "usage: findmisopt bcfile outdir progargs [match]"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
bcfile="$1"
|
bcfile="$1"
|
||||||
outdir="$2"
|
outdir="$2"
|
||||||
args="$3"
|
args="$3"
|
||||||
|
Loading…
Reference in New Issue
Block a user