diff options
author | Don Hinton <hintonda@gmail.com> | 2017-07-12 01:15:46 +0000 |
---|---|---|
committer | Don Hinton <hintonda@gmail.com> | 2017-07-12 01:15:46 +0000 |
commit | e15fa3334dd090b87ad2c98c692b149c0f5116cd (patch) | |
tree | f2cf2d0d764c8eb669722620978e7873febb1b85 /llvm/lib/Support/CommandLine.cpp | |
parent | cacac6a104ac4e7a0a0bb4ab70c677ded078feb4 (diff) | |
download | llvm-e15fa3334dd090b87ad2c98c692b149c0f5116cd.zip llvm-e15fa3334dd090b87ad2c98c692b149c0f5116cd.tar.gz llvm-e15fa3334dd090b87ad2c98c692b149c0f5116cd.tar.bz2 |
Fix minor typo introduced in r276404
Summary:
A space was added between '-' and 'help' when emitting help output.
See https://reviews.llvm.org/D22621 for details.
Reviewers: MaggieYi, vsk
Reviewed By: vsk
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D35283
llvm-svn: 307745
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 0345a5e..50173f5 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -1236,7 +1236,7 @@ bool CommandLineParser::ParseCommandLineOptions(int argc, << ": Not enough positional command line arguments specified!\n" << "Must specify at least " << NumPositionalRequired << " positional argument" << (NumPositionalRequired > 1 ? "s" : "") - << ": See: " << argv[0] << " - help\n"; + << ": See: " << argv[0] << " -help\n"; ErrorParsing = true; } else if (!HasUnlimitedPositionals && |