Reject command lines that have too many positional arguments passed (e.g.,
authorChris Lattner <sabre@nondot.org>
Mon, 8 Aug 2005 17:25:38 +0000 (17:25 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 8 Aug 2005 17:25:38 +0000 (17:25 +0000)
commitde0132453e2939488c2d69290bfdfb2cde94a0af
tree07308d0c6a76a6291cb6389529682d2f587d73f1
parent3821e478a574b80d7f8bc96fa42731291cfccfe8
Reject command lines that have too many positional arguments passed (e.g.,
'opt x y').  This fixes PR493.

Patch contributed by Owen Anderson!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22705 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CommandLine.cpp