Mercurial > hg > MakeItSo
view templates/script.py @ 56:728cae02a6ed
* fix another variable-related bug
* API templates may have descriptions (and *should*!)
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 Jan 2011 14:25:51 -0800 |
parents | a82aa8b2ad93 |
children |
line wrap: on
line source
#!/usr/bin/env python """ {{description}} """ import sys from optparse import OptionParser def main(args=sys.argv[:]): usage = '%prog [options]' parser = OptionParser(usage=usage, description=__doc__) options, args = parser.parse_args(args) if __name__ == '__main__': main()