[llvm-commits] [LNT] r154155 - in /lnt/trunk: docs/tools.rst lnt/lnttool/main.py
Daniel Dunbar
daniel at zuster.org
Thu Apr 5 17:58:09 PDT 2012
Author: ddunbar
Date: Thu Apr 5 19:58:09 2012
New Revision: 154155
URL: http://llvm.org/viewvc/llvm-project?rev=154155&view=rev
Log:
[docs] Improve 'lnt runserver --help' and the runserver docs.
Modified:
lnt/trunk/docs/tools.rst
lnt/trunk/lnt/lnttool/main.py
Modified: lnt/trunk/docs/tools.rst
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/docs/tools.rst?rev=154155&r1=154154&r2=154155&view=diff
==============================================================================
--- lnt/trunk/docs/tools.rst (original)
+++ lnt/trunk/docs/tools.rst Thu Apr 5 19:58:09 2012
@@ -62,7 +62,13 @@
generate report emails if enabled in the configuration, you can use
``--no-email`` to disable this.
- ``lnt runserver <path | config file>``
+ ``lnt runserver <path | config file | tarball>``
Start the LNT server using a development WSGI server. Additional options can
be used to control the server host and port, as well as useful development
features such as automatic reloading.
+
+ The command has built-in support for running the server on an instance which
+ has been packed into a (compressed) tarball. The tarball will be
+ automatically unpacked into a temporary directory and removed on exit. This
+ is useful for passing database instances back and forth, when others only
+ need to be able to view the results.
Modified: lnt/trunk/lnt/lnttool/main.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/main.py?rev=154155&r1=154154&r2=154155&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/main.py (original)
+++ lnt/trunk/lnt/lnttool/main.py Thu Apr 5 19:58:09 2012
@@ -17,7 +17,19 @@
def action_runserver(name, args):
"""start a new development server"""
- parser = OptionParser("%%prog %s [options] [<path|config file>]" % name)
+ parser = OptionParser("""\
+%%prog %s [options] [<path|config file|tarball>]
+
+Start the LNT server using a development WSGI server. Additional options can be
+used to control the server host and port, as well as useful development features
+such as automatic reloading.
+
+The command has built-in support for running the server on an instance which has
+been packed into a (compressed) tarball. The tarball will be automatically
+unpacked into a temporary directory and removed on exit. This is useful for
+passing database instances back and forth, when others only need to be able to
+view the results.\
+""" % name)
parser.add_option("", "--hostname", dest="hostname", type=str,
help="host interface to use [%default]",
default='localhost')
More information about the llvm-commits
mailing list