Show More
@@ -10,7 +10,9 b' def fancyopts(args, options, state):' | |||||
10 | map['-'+s] = map['--'+l]=l |
|
10 | map['-'+s] = map['--'+l]=l | |
11 | state[l] = d |
|
11 | state[l] = d | |
12 | dt[l] = type(d) |
|
12 | dt[l] = type(d) | |
13 |
if not d is None and not callable(d): |
|
13 | if not d is None and not callable(d): | |
|
14 | if s: s += ':' | |||
|
15 | if l: l += '=' | |||
14 | if s: short = short + s |
|
16 | if s: short = short + s | |
15 | if l: long.append(l) |
|
17 | if l: long.append(l) | |
16 |
|
18 |
General Comments 0
You need to be logged in to leave comments.
Login now