From 81eadd190c5ecdd08f1f937c6f766343c280f3b0 Mon Sep 17 00:00:00 2001 From: boyska Date: Mon, 25 Dec 2023 00:49:46 +0100 Subject: [PATCH] fix readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d0ffdb7..468fdb9 100644 --- a/README.md +++ b/README.md @@ -10,21 +10,21 @@ It can be used both as a library and as a CLI program. ### Read variable value ``` -sergio --baud 19200 get PS +./sergio.py get PS ONDAROSS ``` To make it machine readable, just use `--output json` ``` -sergio --output json --baud 19200 get PS +./sergio.py --output json get PS {"variable": "PS", "value": "ONDAROSS"} ``` ### Set the radiotext ``` -sergio --baud 19200 set RT1 'www.ondarossa.info' +./sergio.py set RT1 'www.ondarossa.info' ``` ### Synchronize time and date @@ -32,7 +32,7 @@ sergio --baud 19200 set RT1 'www.ondarossa.info' This assumes your computer has a correct time and date of course. ``` -sergio --baud 19200 synctime Europe/Rome +./sergio.py synctime Europe/Rome ``` You can also specify `--save` so that this is saved immediately. @@ -40,7 +40,7 @@ You can also specify `--save` so that this is saved immediately. ### Dump everything ``` -sergio --baud 19200 dump > dump.json +./sergio.py dump > dump.json ```