[Python-checkins] python/dist/src/Doc/lib liboptparse.tex,1.7,1.8
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Fri, 09 May 2003 11:18:50 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv30665
Modified Files:
liboptparse.tex
Log Message:
Make this format again.
Index: liboptparse.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liboptparse.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** liboptparse.tex 3 May 2003 21:22:58 -0000 1.7
--- liboptparse.tex 9 May 2003 18:18:46 -0000 1.8
***************
*** 279,290 ****
The interesting stuff, of course, is what comes after the option
strings. For now, we'll only cover four of the things you can put
! there: \var{action}, \var{type}, \var{dest} (destination), and
! \var{help}.
! \subsubsection{The \var{store} action\label{optparse-store-action}}
The action tells \module{optparse} what to do when it sees one of the
option strings for this option on the command-line. For example, the
! action \var{store} means: take the next argument (or the remainder of
the current argument), ensure that it is of the correct type, and
store it to your chosen destination.
--- 279,291 ----
The interesting stuff, of course, is what comes after the option
strings. For now, we'll only cover four of the things you can put
! there: \emph{action}, \emph{type}, \emph{dest} (destination), and
! \emph{help}.
! \subsubsection{The \emph{store} action%
! \label{optparse-store-action}}
The action tells \module{optparse} what to do when it sees one of the
option strings for this option on the command-line. For example, the
! action \emph{store} means: take the next argument (or the remainder of
the current argument), ensure that it is of the correct type, and
store it to your chosen destination.
***************
*** 361,365 ****
section~\ref{optparse-adding-types}, ``Adding new types.''
! \subsubsection{Other \var{store_*} actions\label{optparse-other-store-actions}}
Flag options---set a variable to true or false when a particular
--- 362,367 ----
section~\ref{optparse-adding-types}, ``Adding new types.''
! \subsubsection{Other \emph{store_*} actions%
! \label{optparse-other-store-actions}}
Flag options---set a variable to true or false when a particular