mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-26 15:21:18 +00:00
Support more convoluted detail
Some uefi settings details contain more tricky detail information.
This commit is contained in:
parent
cd5366e73f
commit
e09c2ed8eb
@ -478,11 +478,14 @@ def print_attrib_path(path, session, requestargs, options, rename=None):
|
||||
details = False
|
||||
if details:
|
||||
if currattr.get('help', None):
|
||||
attrout += ' (Help: {0})'.format(
|
||||
currattr['help'].encode('utf-8'))
|
||||
attrout += u' (Help: {0})'.format(
|
||||
currattr['help'])
|
||||
if currattr.get('possible', None):
|
||||
attrout += u' (Choices: {0})'.format(
|
||||
','.join(currattr['possible']))
|
||||
try:
|
||||
attrout += u' (Choices: {0})'.format(
|
||||
','.join(currattr['possible']))
|
||||
except TypeError:
|
||||
pass
|
||||
cprint(attrout)
|
||||
if not exitcode:
|
||||
if requestargs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user