comparison lxmldump.py @ 42:508de0f6836b

Adjust help output.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 26 May 2021 12:23:30 +0300
parents 98c85c0b5159
children 8ed576574712
comparison
equal deleted inserted replaced
41:98c85c0b5159 42:508de0f6836b
436 print(u"\nAvailable format strings and values (mode '{}'):".format( 436 print(u"\nAvailable format strings and values (mode '{}'):".format(
437 pkk_modes_list[pkk_cfg.mode])) 437 pkk_modes_list[pkk_cfg.mode]))
438 438
439 for mid in pkk_mode_defaults: 439 for mid in pkk_mode_defaults:
440 stmp = pkk_get_value(mid).replace("\\", "\\\\").replace("\n", "\\n") 440 stmp = pkk_get_value(mid).replace("\\", "\\\\").replace("\n", "\\n")
441 print(u" {:18s} : '{}'".format(mid, stmp)) 441 print(u" {:22s} : '{}'".format(mid, stmp))
442 442
443 sys.exit(0) 443 sys.exit(0)
444 444
445 445
446 ### Handle each input file 446 ### Handle each input file