summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-11-07 20:08:49 +0100
committeremkael <emkael@tlen.pl>2019-11-07 20:09:40 +0100
commit6238c63a0aa244673b0a53dd00e829f687d808a3 (patch)
tree55e70785934dd56f81e481e016dedf0bc267afc5
parent3023c34d814bb896337b0c123bae4d396b6f5313 (diff)
HTML format documented
-rw-r--r--README.txt2
-rw-r--r--deal-converter.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 753d94b..9a3a65a 100644
--- a/README.txt
+++ b/README.txt
@@ -8,9 +8,11 @@ positional arguments:
optional arguments:
-h, --help show this help message and exit
+ --jfr For PBN file, write only JFR DD fields
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.
Web interface available: https://deal.emkael.info/
diff --git a/deal-converter.py b/deal-converter.py
index ee0c3d5..7e5e91d 100644
--- a/deal-converter.py
+++ b/deal-converter.py
@@ -11,7 +11,8 @@ parser = argparse.ArgumentParser(
formatter_class=argparse.RawTextHelpFormatter,
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.')
+ 'To display deals on STDOUT, provide "-" as an output file name.\n' + \
+ 'To print deals to HTML file, use *.html output file.\n')
parser.add_argument('--jfr', action='store_true',
help='For PBN file, write only JFR DD fields')
parser.add_argument('input', metavar='INPUT_FILE',