diff options
-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, |