[llvm-commits] [zorg] r106965 - /zorg/trunk/lnt/lnt/lnttool/__init__.py
Daniel Dunbar
daniel at zuster.org
Sat Jun 26 15:50:04 PDT 2010
Author: ddunbar
Date: Sat Jun 26 17:50:04 2010
New Revision: 106965
URL: http://llvm.org/viewvc/llvm-project?rev=106965&view=rev
Log:
LNT: Tweak command help text.
Modified:
zorg/trunk/lnt/lnt/lnttool/__init__.py
Modified: zorg/trunk/lnt/lnt/lnttool/__init__.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/lnttool/__init__.py?rev=106965&r1=106964&r2=106965&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/lnttool/__init__.py (original)
+++ zorg/trunk/lnt/lnt/lnttool/__init__.py Sat Jun 26 17:50:04 2010
@@ -7,7 +7,7 @@
import StringIO
def action_runserver(name, args):
- """start a new development server."""
+ """start a new development server"""
parser = OptionParser("%%prog %s [options] [<path|config file>]" % name)
parser.add_option("", "--hostname", dest="hostname", type=str,
@@ -54,7 +54,7 @@
# stuff much easier to work with, and also simplifies dealing with things like
# file permissions.
def action_createdb(name, args):
- """create a new empty LNT sqlite3 database."""
+ """create a new empty LNT sqlite3 database"""
parser = OptionParser("%%prog %s [options] path" % name)
@@ -69,7 +69,7 @@
db.commit()
def action_checkformat(name, args):
- """check the format of an LNT test report file."""
+ """check the format of an LNT test report file"""
parser = OptionParser("%%prog %s [options] files" % name)
@@ -94,6 +94,8 @@
PerfDB.importDataFromDict(db, data)
def action_runtest(name, args):
+ """run a builtin test application"""
+
parser = OptionParser("%%prog %s test-name [options]" % name)
parser.disable_interspersed_args()
parser.add_option("", "--submit", dest="submit_url", metavar="URL",
@@ -128,7 +130,7 @@
ServerUtil.submitFile(opts.submit_url, io, True)
def action_showtests(name, args):
- """show the available built-in tests."""
+ """show the available built-in tests"""
parser = OptionParser("%%prog %s" % name)
(opts, args) = parser.parse_args(args)
@@ -145,7 +147,7 @@
lnt.tests.get_test_description(name))
def action_submit(name, args):
- """submit a test report to the server."""
+ """submit a test report to the server"""
parser = OptionParser("%%prog %s [options] <url> <file>+" % name)
parser.add_option("", "--commit", dest="commit", type=int,
More information about the llvm-commits
mailing list