Mercurial > hg > lxmldump
comparison lxmldump.py @ 15:2f86537ff1f7
Improve help.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 11 May 2021 14:00:34 +0300 |
parents | 7498bda8b4a2 |
children | 285b0820d2c6 |
comparison
equal
deleted
inserted
replaced
14:7498bda8b4a2 | 15:2f86537ff1f7 |
---|---|
242 print(u"lxmldump - Dump ISO/FDIS 1951 XML file data") | 242 print(u"lxmldump - Dump ISO/FDIS 1951 XML file data") |
243 print(u"Usage: {0} <options> <input xml file(s)>". | 243 print(u"Usage: {0} <options> <input xml file(s)>". |
244 format(str(Path(sys.argv[0]).name))) | 244 format(str(Path(sys.argv[0]).name))) |
245 print(u"") | 245 print(u"") |
246 print(u" --help Show this help") | 246 print(u" --help Show this help") |
247 print(u" -d, --dump Dump mode") | 247 print(u" -d, --dump Output as simple dump") |
248 print(u" -x, --xml Output as XML") | |
248 print(u" -n, --normalize Output NFC normalized Unicode") | 249 print(u" -n, --normalize Output NFC normalized Unicode") |
249 print(u" -a, --annotate Annotate strings") | 250 print(u" -a, --annotate Annotate strings") |
250 print(u" -v, --verbosity <n> Set verbosity level (0 - 3)") | 251 print(u" -v, --verbosity <n> Set verbosity level (0 - 3)") |
251 print(u"") | 252 print(u"") |
252 sys.exit(0) | 253 sys.exit(0) |