1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Added --exit-after command-line option

Exit picocom after remaining idle for a specified time. Picocom is
considered idle if: Nothing is read (received) from the serial port,
there is nothing to write (send) to the serial port, and nothing is read
from the terminal.
This commit is contained in:
Nick Patavalis
2017-12-14 11:36:01 +02:00
parent 417effcd6b
commit c6c753e31a
2 changed files with 53 additions and 3 deletions

View File

@ -303,6 +303,17 @@ Picocom accepts the following command-line options.
default DTR is raised after open). Only supported in Linux and
OSX.
**--exit-aftrer** | **-x**
: Exit picocom after remaining idle for the specified time (in
milliseconds). Picocom is considered idle if: Nothing is read
(received) from the serial port, there is nothing to write (send)
to the serial port, and nothing is read from the terminal. If
**--exit-after** is set to zero, then picocom exits immediately
after opening and configuring the serial port and after sending
the init string (if any, see option **--initstring**). (Default:
not set)
**--help** | **-h**
: Print a short help message describing the command-line