This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: long options need two hyphens
Type: Stage:
Components: Documentation Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: quiver, rhettinger
Priority: normal Keywords:

Created on 2003-08-31 02:44 by quiver, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (2)
msg18023 - (view) Author: George Yoshida (quiver) (Python committer) Date: 2003-08-31 02:44
At the section 10.10.1 Command Line Interface
(timeit module),
long options, which should be prefixed by two 
hyphens, are
prefixed by a single hyphen.

For example,
  -n N/-number=N 
  -r N/-repeat=N 
should be
  -n N/--number=N 
  -r N/--repeat=N 

It looks like this is a TeX markup problem.
If you use \longprogramopt{option} instead of raw -
- to denote two hyphens,
this problem might be fixed.
(But I'm not sure. I'm very poor at TeX.)
msg18024 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2003-08-31 04:22
Logged In: YES 
user_id=80475

Fixed.  See:
  Doc/lib/libtimeit.tex 1.5 and 1.4.10.1.

Thanks for the bug report.
History
Date User Action Args
2022-04-10 16:10:55adminsetgithub: 39153
2003-08-31 02:44:29quivercreate