|
|
@ -66,7 +66,7 @@ if __name__ == '__main__':
|
|
|
|
default=False
|
|
|
|
default=False
|
|
|
|
)
|
|
|
|
)
|
|
|
|
parser.add_argument(
|
|
|
|
parser.add_argument(
|
|
|
|
'-n', '--names', action='store_true', dest='names',
|
|
|
|
'-n', '--key-names', action='store_true', dest='key_names',
|
|
|
|
help='Print all available names for the mapping',
|
|
|
|
help='Print all available names for the mapping',
|
|
|
|
default=False
|
|
|
|
default=False
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -85,7 +85,7 @@ if __name__ == '__main__':
|
|
|
|
add_filehandler()
|
|
|
|
add_filehandler()
|
|
|
|
log_info()
|
|
|
|
log_info()
|
|
|
|
|
|
|
|
|
|
|
|
if options.names:
|
|
|
|
if options.key_names:
|
|
|
|
# TODO test
|
|
|
|
# TODO test
|
|
|
|
print('\n'.join(system_mapping.list_names()))
|
|
|
|
print('\n'.join(system_mapping.list_names()))
|
|
|
|
sys.exit(0)
|
|
|
|
sys.exit(0)
|
|
|
|