[Python-checkins] CVS: python/dist/src/Misc python.man,1.20,1.21

Guido van Rossum gvanrossum@users.sourceforge.net
Wed, 05 Sep 2001 11:55:36 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv15052

Modified Files:
	python.man 
Log Message:
Document -Q.  Move arguments around to be in strict alphabetical
order.  Add breaks in SYNOPSIS.


Index: python.man
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python.man,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** python.man	2001/07/26 21:25:58	1.20
--- python.man	2001/09/05 18:55:34	1.21
***************
*** 8,11 ****
--- 8,17 ----
  ]
  [
+ .B \-E
+ ]
+ [
+ .B \-h
+ ]
+ [
  .B \-i
  ]
***************
*** 13,21 ****
  .B \-O
  ]
! [
! .B \-S
  ]
  [
! .B \-E
  ]
  [
--- 19,29 ----
  .B \-O
  ]
! .br
!        [
! .B -Q
! .I argument
  ]
  [
! .B \-S
  ]
  [
***************
*** 25,36 ****
  .B \-u
  ]
- [
- .B \-v
- ]
  [
! .B \-x
  ]
! [
! .B \-h
  ]
  [
--- 33,42 ----
  .B \-u
  ]
  [
! .B \-U
  ]
! .br
!        [
! .B \-v
  ]
  [
***************
*** 41,44 ****
--- 47,53 ----
  .I argument
  ]
+ [
+ .B \-x
+ ]
  .br
         [
***************
*** 79,86 ****
--- 88,107 ----
  .SH COMMAND LINE OPTIONS
  .TP
+ .BI "\-c " command
+ Specify the command to execute (see next section).
+ This terminates the option list (following options are passed as
+ arguments to the command).
+ .TP
  .B \-d
  Turn on parser debugging output (for wizards only, depending on
  compilation options).
  .TP
+ .B \-E
+ Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
+ the behavior of the interpreter.
+ .TP
+ .B \-h
+ Prints the usage for the interpreter executable and exits.
+ .TP
  .B \-i
  When a script is passed as first argument or the \fB\-c\fP option is
***************
*** 96,99 ****
--- 117,129 ----
  to \fI.pyo\fP.  Given twice, causes docstrings to be discarded.
  .TP
+ .BI "\-Q " argument
+ Division control; see PEP 238.  The argument must be one of "old" (the
+ default, int/int and long/long return an int or long), "new" (new
+ division semantics, i.e. int/int and long/long returns a float),
+ "warn" (old division semantics with a warning for int/int and
+ long/long), or "warnall" (old division semantics with a warning for
+ all use of the division operator).  For a use of "warnall", see the
+ Tools/scripts/fixdiv.py script.
+ .TP
  .B \-S
  Disable the import of the module
***************
*** 103,110 ****
  that it entails.
  .TP
- .B \-E
- Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
- the behavior of the interpreter.
- .TP
  .B \-t
  Issue a warning when a source file mixes tabs and spaces for
--- 133,136 ----
***************
*** 122,133 ****
  at exit.
  .TP
- .B \-x
- Skip the first line of the source.  This is intended for a DOS
- specific hack only.  Warning: the line numbers in error messages will
- be off by one!
- .TP
- .B \-h
- Prints the usage for the interpreter executable and exits.
- .TP
  .B \-V
  Prints the Python version number of the executable and exits.
--- 148,151 ----
***************
*** 198,205 ****
  is thus equivalent to an omitted line number.
  .TP
! .BI "\-c " command
! Specify the command to execute (see next section).
! This terminates the option list (following options are passed as
! arguments to the command).
  .SH INTERPRETER INTERFACE
  The interpreter interface resembles that of the UNIX shell: when
--- 216,223 ----
  is thus equivalent to an omitted line number.
  .TP
! .B \-x
! Skip the first line of the source.  This is intended for a DOS
! specific hack only.  Warning: the line numbers in error messages will
! be off by one!
  .SH INTERPRETER INTERFACE
  The interpreter interface resembles that of the UNIX shell: when