From 89fb2f470b08068a8578e75fd093bc62493ec413 Mon Sep 17 00:00:00 2001 From: pux Date: Mon, 22 Mar 2021 00:52:34 +0100 Subject: update README after code change --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0324d37..d37a778 100644 --- a/README.md +++ b/README.md @@ -3,20 +3,22 @@ ## Calculate dipole antenna leg length ```text -usage: calctenna.py [-h] -f [frequency] [-V [velocity_factor]] [-q] +usage: calctenna.py [-h] [-V velocity_factor] [-q] [-t] [frequency] + +positional arguments: + frequency desired frequency in Hz (e.g. 144800000 or 433e6, ...) optional arguments: -h, --help show this help message and exit - -f [frequency], --frequency [frequency] - desired frequency in Hz (e.g. 144800000 or 433e6, ...) - -V [velocity_factor], --velocity-factor [velocity_factor] + -V velocity_factor, --velocity-factor velocity_factor -q, --quiet print only result + -t, --tests run unit tests and exit ``` ### Example output ```text -$ calctenna.py -f 104e6 +$ calctenna.py 104e6 Desired Frequency: 104e6 Hz Wavelength: 2.883 m Wavelength / 2: 1.441 m -- cgit v1.2.2-1-g5e49