diff options
author | emkael <emkael@tlen.pl> | 2019-11-07 23:24:12 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-11-07 23:36:07 +0100 |
commit | e14ed77faac829aa4f2067b2081c6219c95d9305 (patch) | |
tree | 586c9501979c8717fa061361efe39b1f54591e31 | |
parent | ffaa889d9bf85f404e4e2b4780bf8a6841ed9c79 (diff) |
Docs for PDF format
-rw-r--r-- | README.txt | 3 | ||||
-rw-r--r-- | deal-converter.py | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -14,5 +14,8 @@ Supported formats: BER BHG BRI CDS CSV DGE DLM DUP 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 424ee6a..122053a 100644 --- a/deal-converter.py +++ b/deal-converter.py @@ -12,7 +12,9 @@ parser = argparse.ArgumentParser( epilog='Supported formats: BER BHG BRI CDS CSV DGE DLM DUP 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') + 'To print deals to HTML file, use *.html output file.\n' + \ + 'To print deals to PDF file, use *.pdf output file.\n\n' + \ + 'PDF output requires wkhtmltopdf in a patched-qt version.') parser.add_argument('--jfr', action='store_true', help='For PBN file, write only JFR DD fields') parser.add_argument('--columns', type=int, default=None, |