[LNT] r188104 - Remove accidental duplications in lnt usage messages.
Chris Matthews
cmatthews5 at apple.com
Fri Aug 9 14:08:47 PDT 2013
Author: cmatthews
Date: Fri Aug 9 16:08:46 2013
New Revision: 188104
URL: http://llvm.org/viewvc/llvm-project?rev=188104&view=rev
Log:
Remove accidental duplications in lnt usage messages.
Usage: lnt lnt runtest nt
Changed to:
Usage: lnt runtest nt
Modified:
lnt/trunk/lnt/lnttool/main.py
lnt/trunk/lnt/tests/compile.py
lnt/trunk/lnt/tests/nt.py
Modified: lnt/trunk/lnt/lnttool/main.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/main.py?rev=188104&r1=188103&r2=188104&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/main.py (original)
+++ lnt/trunk/lnt/lnttool/main.py Fri Aug 9 16:08:46 2013
@@ -272,7 +272,7 @@ def action_send_daily_report(name, args)
import lnt.server.reporting.dailyreport
- parser = OptionParser("%%prog %s [options] <instance path> <address>" % (
+ parser = OptionParser("%s [options] <instance path> <address>" % (
name,))
parser.add_option("", "--database", dest="database", default="default",
help="database to use [%default]")
@@ -358,7 +358,7 @@ def action_send_run_comparison(name, arg
import lnt.server.reporting.dailyreport
- parser = OptionParser("%%prog %s [options] <instance path> "
+ parser = OptionParser("%s [options] <instance path> "
"<run A ID> <run B ID>" % (
name,))
parser.add_option("", "--database", dest="database", default="default",
Modified: lnt/trunk/lnt/tests/compile.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/compile.py?rev=188104&r1=188103&r2=188104&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/compile.py (original)
+++ lnt/trunk/lnt/tests/compile.py Fri Aug 9 16:08:46 2013
@@ -657,7 +657,7 @@ class CompileTest(builtintest.BuiltinTes
def run_test(self, name, args):
global opts
parser = OptionParser(
- ("%%prog %(name)s [options] [<output file>]\n" +
+ ("%(name)s [options] [<output file>]\n" +
usage_info) % locals())
parser.add_option("-v", "--verbose", dest="verbose",
help="Show more test output",
Modified: lnt/trunk/lnt/tests/nt.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/nt.py?rev=188104&r1=188103&r2=188104&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/nt.py (original)
+++ lnt/trunk/lnt/tests/nt.py Fri Aug 9 16:08:46 2013
@@ -925,7 +925,7 @@ repository, and formatting the results f
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 @@ class NTTest(builtintest.BuiltinTest):
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",
More information about the llvm-commits
mailing list