Mercurial > hg > pyloader
changeset 29:000e175169c2
use IniFactory.__doc__ as parser description
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 06 Jun 2011 11:18:31 -0700 |
parents | bd50a1317ec4 |
children | 66382932514e |
files | pyloader/factory.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pyloader/factory.py Mon Jun 06 11:17:37 2011 -0700 +++ b/pyloader/factory.py Mon Jun 06 11:18:31 2011 -0700 @@ -148,7 +148,7 @@ def main(args=sys.argv[1:]): """command line entry point""" usage = '%prog file1.ini -arg1 -arg2 --key1=value1 --key2=value2' - parser = OptionParser(usage=usage) + parser = OptionParser(usage=usage, description=IniFactory.__doc__) options, args = parser.parse_args(args) if len(args) != 1: