[LNT][PATCH] fix duplicated command name in nt test usage message
Chris Matthews
chris.matthews at apple.com
Thu Aug 8 16:11:52 PDT 2013
This patch fixes two duplicated command names in the lnt runtest nt usage message. Right now it looks like this:
Usage: lnt lnt runtest nt
Changed to:
Usage: lnt runtest nt
Index: lnt/tests/nt.py
===================================================================
--- lnt/tests/nt.py (revision 188013)
+++ lnt/tests/nt.py (working copy)
@@ -925,7 +925,7 @@
Basic usage:
- %%prog %(name)s \\
+ %(name)s \\
--sandbox FOO \\
--cc ~/llvm.obj.64/Release/bin/clang \\
--test-suite ~/llvm-test-suite
@@ -955,7 +955,7 @@
def run_test(self, name, args):
parser = OptionParser(
- ("%%prog %(name)s [options] tester-name\n" + usage_info) % locals())
+ ("%(name)s [options] tester-name\n" + usage_info) % locals())
group = OptionGroup(parser, "Sandbox Options")
group.add_option("-s", "--sandbox", dest="sandbox_path",
Chris Matthews
chris.matthews at apple.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130808/a0d72a76/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repeated_command.patch
Type: application/octet-stream
Size: 714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130808/a0d72a76/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130808/a0d72a76/attachment-0001.html>
More information about the llvm-commits
mailing list