diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/CommandLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 412dcb6..571b033 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -120,7 +120,7 @@ static void GetOptionInfo(std::vector<Option*> &PositionalOpts, if (!OptionsMap.insert(std::pair<std::string,Option*>(OptionNames[i], O)).second) { cerr << ProgramName << ": CommandLine Error: Argument '" - << OptionNames[0] << "' defined more than once!\n"; + << OptionNames[i] << "' defined more than once!\n"; } } |