From e21f49cebe45a2e28cc7cfaf186695503c977ea9 Mon Sep 17 00:00:00 2001 From: Paulus Kruger <kruger@astron.nl> Date: Thu, 29 Apr 2021 15:49:31 +0000 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8d3049d..7fdec05 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - # PyPCC Python OPC-UA server to control the I2C devices in the LTS. @@ -34,21 +33,23 @@ python3 -m pip install -r requirements.txt # Execute it -The software can be simply executed with Python3: `python3 pypcc2.py -c RCY,CLK,UNB2` +The software can be simply executed with Python3: `python3 pypcc2.py -c RCU,CLK,UNB2` Optional parameters are explained when the `-h` or `--help` parameter is supplied: ```bash python3 pypcc2.py --help -cryptography is not installed, use of crypto disabled -cryptography is not installed, use of crypto disabled -usage: pypcc2.py [-h] [-s] [--no-lib-hack] [-p PORT] +usage: pypcc2.py [-h] [-s] [-t] [-p PORT] [-l {DEBUG,INFO,WARNING,ERROR}] [-c CONFIG] optional arguments: -h, --help show this help message and exit -s, --simulator Do not connect to I2c, but simulate behaviour. + -t, --test Do not start OPC-UA server. -p PORT, --port PORT Port number to listen on [4842]. - -c .. - -t ... + -l {DEBUG,INFO,WARNING,ERROR}, --loglevel {DEBUG,INFO,WARNING,ERROR} + Log level [INFO]. + -c CONFIG, --config CONFIG + YAML config files, comma seperated [RCU] + ``` -- GitLab