This module provides python bindings for popt, the command line parsing
library.
The popt library is distributed with rpm and is available from:
ftp://ftp.rpm.org/pub/rpm/dist

        API Description

The API follows closely the popt API.

Most of the popt functions taking a popt context as the first parameter are
methods of the Python context object.

The popt prefix has been removed from all the function names. POPT_ has been
removed from the constant names as well. Reverse this process if you want to
look up the function/flag in the popt documentation.

    popt methods

* getContext(name, arglist, options, flags)
Returns a new popt context object.
The first argument is used for alias handling.
The second argument is the list of command line arguments, following the
standard convention: the first item in the list is the name of the program
being run.
options is a list of corresponing poptOption objects

