Author: Edd Barrett <vex...@gmail.com> Branch: argparse-collect Changeset: r240:5bef5a9b487d Date: 2013-08-31 00:22 +0100 http://bitbucket.org/pypy/jitviewer/changeset/5bef5a9b487d/
Log: Again improve help message. * put common case first. * add help showing how to collect log manually. diff --git a/_jitviewer/app.py b/_jitviewer/app.py --- a/_jitviewer/app.py +++ b/_jitviewer/app.py @@ -3,16 +3,21 @@ DESCR = """Jit Viewer: A web-based browser for PyPy log files""" EPILOG = """ +Typical usage with no existing log file: + + jitviewer.py --collect pypy <your script> <arg1> ... <argn> + Typical usage with existing log file: jitviewer.py --log <path to your log file> -Typical usage with no existing log file: +where you collected a logfile by setting PYPYLOG, e.g.: - jitviewer.py --collect pypy <your script> <arg1> ... <argn> + PYPYLOG=jit-log-opt,jit-backend:<path to your log file> pypy arg1 ... argn -By default the script will run a web server, point your browser to +By default jitviewer will run a web server. Point your browser to: http://localhost:5000 + """ import sys _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit