Show More
@@ -17,9 +17,11 b' u = ui.ui()' | |||||
17 | opts = {} |
|
17 | opts = {} | |
18 | args = [] |
|
18 | args = [] | |
19 | try: |
|
19 | try: | |
20 | args = fancyopts.fancyopts(sys.argv[1:], options, opts) |
|
20 | args = list(fancyopts.fancyopts(sys.argv[1:], options, opts)) | |
21 | except fancyopts.getopt.GetoptError, inst: |
|
21 | args += [None]*(3 - len(args)) | |
22 | u.warn('Usage:\n%s' % help) |
|
22 | src, dest, revmapfile = args | |
|
23 | except (fancyopts.getopt.GetoptError, ValueError), inst: | |||
|
24 | u.warn('Usage:\n%s\n' % help) | |||
23 | sys.exit(-1) |
|
25 | sys.exit(-1) | |
24 |
|
26 | |||
25 |
convert. |
|
27 | convert.convert(u, src, dest, revmapfile, **opts) |
General Comments 0
You need to be logged in to leave comments.
Login now