diff options
author | emkael <emkael@tlen.pl> | 2020-02-18 17:26:14 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-02-18 17:26:14 +0100 |
commit | e8d2b7af0f3dc6bea1cac2deb1cd17a72a437294 (patch) | |
tree | 81de54289b124c370ce85e2c79f5d7a35000cfc9 | |
parent | f33c36abaaa161bbdb9e07cb66b1415ffcf2d11a (diff) |
README updated
-rw-r--r-- | README.txt | 19 | ||||
-rw-r--r-- | deal-converter.py | 2 |
2 files changed, 12 insertions, 9 deletions
@@ -1,21 +1,24 @@ -usage: deal-converter.py [-h] INPUT_FILE [OUTPUT_FILE [OUTPUT_FILE ...]] +usage: deal-converter.py [-h] [--jfr] [--columns COLUMNS] + [--orientation {Landscape,Portrait}] + INPUT_FILE [OUTPUT_FILE [OUTPUT_FILE ...]] Universal converter for bridge deal formats positional arguments: - INPUT_FILE Input file path - OUTPUT_FILE Output file path(s) + INPUT_FILE Input file path + OUTPUT_FILE Output file path(s) optional arguments: - -h, --help show this help message and exit - --jfr For PBN file, write only JFR DD fields + -h, --help show this help message and exit + --jfr For PBN file, write only JFR DD fields + --columns COLUMNS For HTML and PDF files, print-out column count + --orientation {Landscape,Portrait} + For PDF files, page orientation -Supported formats: BER BHG BRI CDS CSV DGE DLM DUP PBN RZD. +Supported formats: BER BHG BRI CDS CSV DGE DLM DUP LIN PBN RZD. Formats are auto-detected based on file extension. To display deals on STDOUT, provide "-" as an output file name. To print deals to HTML file, use *.html output file. To print deals to PDF file, use *.pdf output file. PDF output requires wkhtmltopdf in a patched-qt version. - -Web interface available: https://deal.emkael.info/ diff --git a/deal-converter.py b/deal-converter.py index 122053a..352e7e0 100644 --- a/deal-converter.py +++ b/deal-converter.py @@ -9,7 +9,7 @@ from dealconvert import DealConverter parser = argparse.ArgumentParser( description='Universal converter for bridge deal formats', formatter_class=argparse.RawTextHelpFormatter, - epilog='Supported formats: BER BHG BRI CDS CSV DGE DLM DUP PBN RZD.\n' + \ + epilog='Supported formats: BER BHG BRI CDS CSV DGE DLM DUP LIN PBN RZD.\n' + \ 'Formats are auto-detected based on file extension.\n' + \ 'To display deals on STDOUT, provide "-" as an output file name.\n' + \ 'To print deals to HTML file, use *.html output file.\n' + \ |