From e8d2b7af0f3dc6bea1cac2deb1cd17a72a437294 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 18 Feb 2020 17:26:14 +0100 Subject: README updated --- README.txt | 19 +++++++++++-------- deal-converter.py | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.txt b/README.txt index c8b84fc..c83b3ba 100644 --- a/README.txt +++ b/README.txt @@ -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' + \ -- cgit v1.2.3