Overview
Comment: | [build] useless options |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | build |
Files: | files | file ages | folders |
SHA3-256: |
ce2cbcbd61f515b8c26a3bd7d8e04c72 |
User & Date: | olr on 2023-06-10 12:12:36 |
Other Links: | manifest | tags |
Context
2023-06-10
| ||
12:13 | [graphspell] new ad hoc suggestions check-in: 446b654590 user: olr tags: trunk, graphspell | |
12:12 | [build] useless options check-in: ce2cbcbd61 user: olr tags: trunk, build | |
12:10 | [fr] faux positif et ajustements check-in: e47e52f2c6 user: olr tags: trunk, fr | |
Changes
Modified lex_build.py from [d4a3c39602] to [c6d9c2afcf].
︙ | ︙ | |||
24 25 26 27 28 29 30 | "parse args from CLI" xParser = argparse.ArgumentParser() xParser.add_argument("src_lexicon", type=str, help="path and file name of the source lexicon") xParser.add_argument("lang_code", type=str, help="language code") xParser.add_argument("lang_name", type=str, help="language name") xParser.add_argument("dic_filename", type=str, help="dictionary file name (without extension)") xParser.add_argument("-js", "--json", help="Build dictionary in JSON", action="store_true") | < < | 24 25 26 27 28 29 30 31 32 33 34 35 36 | "parse args from CLI" xParser = argparse.ArgumentParser() xParser.add_argument("src_lexicon", type=str, help="path and file name of the source lexicon") xParser.add_argument("lang_code", type=str, help="language code") xParser.add_argument("lang_name", type=str, help="language name") xParser.add_argument("dic_filename", type=str, help="dictionary file name (without extension)") xParser.add_argument("-js", "--json", help="Build dictionary in JSON", action="store_true") xArgs = xParser.parse_args() build(xArgs.src_lexicon, xArgs.lang_code, xArgs.lang_name, xArgs.dic_filename, xArgs.json) if __name__ == '__main__': main() |