Table of Contents

Module: usage Twisted-0.19.0/twisted/python/usage.py

twisted.python.usage is a module for parsing/handling the command line of your program.

For information on how to use it, see http://twistedmatrix.com/documents/howto/options, or doc/howto/options.html in your Twisted directory.

Imported modules   
import UserDict
import getopt
import new
import os
from os import path
import reflect
import string
import sys
import text
import util
Functions   
docMakeChunks
  docMakeChunks 
docMakeChunks ( optList,  width=80 )

Makes doc chunks for option declarations.

Takes a list of dictionaries, each of which may have one or more of the keys long, short, doc, default, optType.

Returns a list of strings. The strings may be multiple lines, all of them end with a newline.

Classes   
Options

optFlags and optParameters are lists of available parameters

UsageError

Table of Contents

This document was automatically generated on Sun Jul 14 19:53:11 2002 by HappyDoc version 2.0