cli: fix alignment with new feature names

This commit is contained in:
Peter Wu 2013-05-26 23:51:46 +02:00
parent 6ae11f862c
commit b6bd4b9da0
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def _print_device(dev, verbose=False):
flags = dev.request(0x0000, feature.bytes(2))
flags = 0 if flags is None else ord(flags[1:2])
flags = hidpp20.FEATURE_FLAG.flag_names(flags)
print (" %2d: %-20s {%04X} %s" % (index, feature, feature, ', '.join(flags)))
print (" %2d: %-22s {%04X} %s" % (index, feature, feature, ', '.join(flags)))
if dev.keys:
print (" Has %d reprogrammable keys:" % len(dev.keys))