mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
add argument to parser info
This commit is contained in:
@ -103,6 +103,7 @@ def about_jc():
|
|||||||
if hasattr(parser_map[parser], 'info'):
|
if hasattr(parser_map[parser], 'info'):
|
||||||
info_dict = {}
|
info_dict = {}
|
||||||
info_dict['name'] = parser_map[parser].__name__.split('.')[-1]
|
info_dict['name'] = parser_map[parser].__name__.split('.')[-1]
|
||||||
|
info_dict['argument'] = parser
|
||||||
parser_entry = vars(parser_map[parser].info)
|
parser_entry = vars(parser_map[parser].info)
|
||||||
for k, v in parser_entry.items():
|
for k, v in parser_entry.items():
|
||||||
if not k.startswith('__'):
|
if not k.startswith('__'):
|
||||||
|
Reference in New Issue
Block a user