From: Raymond Hettinger Date: Sun, 31 Aug 2003 04:21:42 +0000 (+0000) Subject: SF bug 798006: Fix long option markup. X-Git-Tag: v2.3.1~115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e40daae8f6775f71cf3587f7ecf1b191b2d23c3;p=thirdparty%2FPython%2Fcpython.git SF bug 798006: Fix long option markup. --- diff --git a/Doc/lib/libtimeit.tex b/Doc/lib/libtimeit.tex index 42d9ea689227..f008fee31da2 100644 --- a/Doc/lib/libtimeit.tex +++ b/Doc/lib/libtimeit.tex @@ -96,16 +96,16 @@ python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [statement ...] where the following options are understood: \begin{description} -\item[-n N/--number=N] how many times to execute 'statement' -\item[-r N/--repeat=N] how many times to repeat the timer (default 3) -\item[-s S/--setup=S] statement to be executed once initially (default +\item[-n N/\longprogramopt{number=N}] how many times to execute 'statement' +\item[-r N/\longprogramopt{repeat=N}] how many times to repeat the timer (default 3) +\item[-s S/\longprogramopt{setup=S}] statement to be executed once initially (default \code{'pass'}) -\item[-t/--time] use \function{time.time()} +\item[-t/\longprogramopt{time}] use \function{time.time()} (default on all platforms but Windows) -\item[-c/--clock] use \function{time.clock()} (default on Windows) -\item[-v/--verbose] print raw timing results; repeat for more digits +\item[-c/\longprogramopt{clock}] use \function{time.clock()} (default on Windows) +\item[-v/\longprogramopt{verbose}] print raw timing results; repeat for more digits precision -\item[-h/--help] print a short usage message and exit +\item[-h/\longprogramopt{help}] print a short usage message and exit \end{description} A multi-line statement may be given by specifying each line as a