Add list serial devices feature

For convenience, add a --list-devices option which lists the available
serial devices.
This commit is contained in:
Martin Lund 2022-02-08 22:44:48 +01:00
parent 6310f28d2c
commit 7a2a18232d
8 changed files with 55 additions and 2 deletions

View file

@ -29,6 +29,7 @@ The command-line interface is straightforward as reflected in the output from
-n, --no-autoconnect Disable automatic connect
-e, --local-echo Do local echo
-t, --timestamp Timestamp lines
-i, --list-devices List available serial devices
-l, --log <filename> Log to file
-m, --map <flags> Map special characters
-v, --version Display version