Mercurial > hg > silvermirror
annotate silvermirror/scripts/reconcile_unison.py @ 19:54e9c335e239
add some stubs
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 05 Jul 2013 08:07:48 -0700 |
parents | |
children |
rev | line source |
---|---|
19 | 1 #!/usr/bin/env python |
2 | |
3 ''' | |
4 reconcile unison with remote sources | |
5 ''' | |
6 | |
7 import optparse | |
8 import os | |
9 import sys | |
10 | |
11 here = os.path.dirname(os.path.realpath(__file__)) | |
12 | |
13 def main(args=sys.argv[1:]): | |
14 | |
15 usage = '%prog [options]' | |
16 parser = optparse.OptionParser(usage=usage, description=__doc__) | |
17 options, args = options.parse_args(args) | |
18 | |
19 if __name__ == '__main__': | |
20 main() |