Skip to content

Commit 00afedf

Browse files
committed
modules: param_help.py: pad enum value to make columns align nicely
1 parent be3885b commit 00afedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: MAVProxy/modules/lib/param_help.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def param_help(self, args):
173173
if len(values):
174174
print("\nValues: ")
175175
for v in values:
176-
print("\t%s : %s" % (v.get('code'), str(v)))
176+
print("\t%3u : %s" % (int(v.get('code')), str(v)))
177177
except Exception as e:
178178
print("Caught exception %s" % repr(e))
179179
pass

0 commit comments

Comments
 (0)