summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-08-31 04:20:12 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-08-31 04:20:12 (GMT)
commit9d12ab5c3ce50013dac0af03c3a1bf061aaa9731 (patch)
tree2f4585356735e8e51bc13c6faf4edd47fe843766
parent0970dbab97d82e23ba6a39ef21fe5c02f22bbc48 (diff)
downloadcpython-9d12ab5c3ce50013dac0af03c3a1bf061aaa9731.zip
cpython-9d12ab5c3ce50013dac0af03c3a1bf061aaa9731.tar.gz
cpython-9d12ab5c3ce50013dac0af03c3a1bf061aaa9731.tar.bz2
Fix long option markup.
-rw-r--r--Doc/lib/libtimeit.tex14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/lib/libtimeit.tex b/Doc/lib/libtimeit.tex
index 42d9ea6..f008fee 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