Add support for local "--echo" for Serial Port Monitor // Resolve #733

This commit is contained in:
Ivan Kravets
2016-07-28 23:08:42 +03:00
parent 5c53b93a49
commit e821a438fe
4 changed files with 5 additions and 4 deletions

View File

@@ -61,6 +61,8 @@ if int(PYSERIAL_VERSION[0]) == 3:
help="Set initial RTS line state")
@click.option("--dtr", default=None, type=click.Choice(["0", "1"]),
help="Set initial DTR line state")
@click.option("--echo", is_flag=True,
help="Enable local echo, default=Off")
@click.option("--encoding", default="UTF-8",
help="Set the encoding for the serial port (e.g. hexlify, "
"Latin1, UTF-8), default: UTF-8")