+from optparse import IndentedHelpFormatter
from optparse import OptionParser
import Configuration.Defaults
default=Configuration.Defaults.DATABASE_USERNAME)
return parser
+
+
+
+class VerbatimHelpFormatter(IndentedHelpFormatter):
+ """
+ The two HelpFormatters supplied with OptParse like to mangle their
+ descriptions during print_help(). This subclassed formatter
+ overrides the format_description() method with an implementation
+ that simply returns the description unmodified.
+ """
+ def format_description(self, description):
+ return description