source:
proto/s2k/trunk/demo/inversion/inversion_demo_config.py
@
4292
Last change on this file since 4292 was 4292, checked in by ksherdy, 4 years ago | |
---|---|
File size: 270 bytes |
Line | |
---|---|
1 | import optparse |
2 | |
3 | def get_option_parser(): |
4 | """Return an C{optparse.OptionParser} instance tied to this configuration.""" |
5 | |
6 | parser = optparse.OptionParser(usage='python %prog [options] <input file>', |
7 | version='1.0', |
8 | ) |
9 | |
10 | # Option definitions |
11 | |
12 | return parser |
13 | |
14 |
Note: See TracBrowser
for help on using the repository browser.