Commit 9d12ab5c authored by Raymond Hettinger's avatar Raymond Hettinger

Fix long option markup.

parent 0970dbab
...@@ -96,16 +96,16 @@ python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [statement ...] ...@@ -96,16 +96,16 @@ python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [statement ...]
where the following options are understood: where the following options are understood:
\begin{description} \begin{description}
\item[-n N/--number=N] how many times to execute 'statement' \item[-n N/\longprogramopt{number=N}] how many times to execute 'statement'
\item[-r N/--repeat=N] how many times to repeat the timer (default 3) \item[-r N/\longprogramopt{repeat=N}] how many times to repeat the timer (default 3)
\item[-s S/--setup=S] statement to be executed once initially (default \item[-s S/\longprogramopt{setup=S}] statement to be executed once initially (default
\code{'pass'}) \code{'pass'})
\item[-t/--time] use \function{time.time()} \item[-t/\longprogramopt{time}] use \function{time.time()}
(default on all platforms but Windows) (default on all platforms but Windows)
\item[-c/--clock] use \function{time.clock()} (default on Windows) \item[-c/\longprogramopt{clock}] use \function{time.clock()} (default on Windows)
\item[-v/--verbose] print raw timing results; repeat for more digits \item[-v/\longprogramopt{verbose}] print raw timing results; repeat for more digits
precision precision
\item[-h/--help] print a short usage message and exit \item[-h/\longprogramopt{help}] print a short usage message and exit
\end{description} \end{description}
A multi-line statement may be given by specifying each line as a A multi-line statement may be given by specifying each line as a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment