summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-08-31 04:20:12 +0000
committerRaymond Hettinger <python@rcn.com>2003-08-31 04:20:12 +0000
commit7a05c065c400d76f7374ec79a9b360709b1cd3ef (patch)
tree8f119425b17e707609375dbce9348d875aec8a60
parent3befcecb6c6d22c95643dbd11cc333ad714298c6 (diff)
downloadcpython-7a05c065c400d76f7374ec79a9b360709b1cd3ef.tar.gz
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 42d9ea6892..f008fee31d 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