summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.txt3
-rw-r--r--deal-converter.py4
2 files changed, 6 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 9a3a65a..c8b84fc 100644
--- a/README.txt
+++ b/README.txt
@@ -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,